Package | Description |
---|---|
org.axonframework.eventhandling.async |
Modifier and Type | Method and Description |
---|---|
static <T,K> PropertySequencingPolicy.Builder<T,K> |
PropertySequencingPolicy.builder(Class<T> payloadClass,
Class<K> propertyClass)
Instantiate a Builder to be able to create a
PropertySequencingPolicy . |
PropertySequencingPolicy.Builder<T,K> |
PropertySequencingPolicy.Builder.fallbackSequencingPolicy(SequencingPolicy<EventMessage> fallbackSequencingPolicy)
Defines the fallback sequencing policy, the sequencing policy which is applied if the event message payload
is not of a supported type.
|
PropertySequencingPolicy.Builder<T,K> |
PropertySequencingPolicy.Builder.propertyExtractor(Function<T,K> propertyExtractor)
Defines the property extractor, a function which is applied to the event message payload to extract the
sequence identifier.
|
PropertySequencingPolicy.Builder<T,K> |
PropertySequencingPolicy.Builder.propertyName(String propertyName)
Defines the name of the property to be extracted as sequence identifier.
|
Constructor and Description |
---|
PropertySequencingPolicy(PropertySequencingPolicy.Builder builder)
Instantiate a
PropertySequencingPolicy based on the fields contained in the PropertySequencingPolicy.Builder . |
Copyright © 2010–2024. All rights reserved.