| Package | Description |
|---|---|
| org.axonframework.extensions.springcloud.commandhandling |
| Modifier and Type | Class and Description |
|---|---|
static class |
SpringCloudHttpBackupCommandRouter.Builder
Deprecated.
Builder class to instantiate a
SpringCloudHttpBackupCommandRouter. |
| Modifier and Type | Method and Description |
|---|---|
static SpringCloudCommandRouter.Builder |
SpringCloudCommandRouter.builder()
Instantiate a Builder to be able to create a
SpringCloudCommandRouter. |
SpringCloudCommandRouter.Builder |
SpringCloudCommandRouter.Builder.capabilityDiscoveryMode(CapabilityDiscoveryMode capabilityDiscoveryMode)
Defines the
CapabilityDiscoveryMode used by this CommandRouter implementation. |
SpringCloudCommandRouter.Builder |
SpringCloudCommandRouter.Builder.consistentHashChangeListener(org.axonframework.commandhandling.distributed.ConsistentHashChangeListener consistentHashChangeListener)
Sets the
ConsistentHashChangeListener which is notified when a change in membership has
potentially caused a change in the consistent hash. |
SpringCloudCommandRouter.Builder |
SpringCloudCommandRouter.Builder.contextRootMetadataPropertyName(String contextRootMetadataPropertyName)
Sets a property key to be expected in the
ServiceInstance.getMetadata() returned object, defining the
context root for the given ServiceInstance. |
SpringCloudCommandRouter.Builder |
SpringCloudCommandRouter.Builder.discoveryClient(org.springframework.cloud.client.discovery.DiscoveryClient discoveryClient)
Sets the
DiscoveryClient used to discovery and notify other nodes. |
SpringCloudCommandRouter.Builder |
SpringCloudCommandRouter.Builder.localServiceInstance(org.springframework.cloud.client.serviceregistry.Registration localServiceInstance)
Sets the
Registration, representing the local Service Instance of this application. |
SpringCloudCommandRouter.Builder |
SpringCloudCommandRouter.Builder.routingStrategy(org.axonframework.commandhandling.distributed.RoutingStrategy routingStrategy)
Sets the
RoutingStrategy used to define the key on which Command Messages are routed to their
respective nodes. |
SpringCloudCommandRouter.Builder |
SpringCloudCommandRouter.Builder.serializer(org.axonframework.serialization.Serializer serializer)
Sets the
Serializer used to de-/serialize the CommandMessageFilter. |
SpringCloudCommandRouter.Builder |
SpringCloudCommandRouter.Builder.serviceInstanceFilter(Predicate<org.springframework.cloud.client.ServiceInstance> serviceInstanceFilter)
Sets a
Predicate of generic type ServiceInstance, used to filter out ServiceInstances
from the membership update loop. |
| Constructor and Description |
|---|
SpringCloudCommandRouter(SpringCloudCommandRouter.Builder builder)
Instantiate a
SpringCloudCommandRouter based on the fields contained in the SpringCloudCommandRouter.Builder. |
Copyright © 2010–2023. All rights reserved.