FactBinding

data class FactBinding(val source: RouteIdentitySource, val value: String? = null, val headers: List<String> = emptyList(), val derived: Boolean = false)

How a route takes one identity fact.

Constructors

Link copied to clipboard
constructor(source: RouteIdentitySource, value: String? = null, headers: List<String> = emptyList(), derived: Boolean = false)

Types

Link copied to clipboard

Properties

Link copied to clipboard

whether the value is derived from another fact: the owner of an aggregate owned by its ID, taken from {id}. It decides a command's owner, and a header may not contradict it, but a read does not filter by it.

Link copied to clipboard

the headers read in order (HEADER, and the fallback of OWNER); for a fact the route fixes (STATIC, PATH), the header that must not contradict it (none for a static tenant: as in 9.2, a tenant header is ignored there).

Link copied to clipboard

where the value comes from.

Link copied to clipboard

the static value (STATIC) or the path variable (PATH).