Class PropertiesAxonServerConnectionDetails
java.lang.Object
org.axonframework.springboot.service.connection.PropertiesAxonServerConnectionDetails
- All Implemented Interfaces:
AxonServerConnectionDetails,org.springframework.boot.autoconfigure.service.connection.ConnectionDetails
public class PropertiesAxonServerConnectionDetails
extends Object
implements AxonServerConnectionDetails
An
AxonServerConnectionDetails implementation based on a given AxonServerConfiguration bean.
Ensures there will be a AxonServerConnectionDetails instance in the absence of the container-based version
constructed by the AxonServerTestContainerConnectionDetailsFactory. The container-based version only exists
if there is a ServiceConnection annotated bean in the context, which is not a guarantee.
- Since:
- 4.9.4
- Author:
- Steven van Beelen
-
Constructor Summary
ConstructorsConstructorDescriptionPropertiesAxonServerConnectionDetails(AxonServerConfiguration configuration) Constructs aPropertiesAxonServerConnectionDetailsinstance based on the givenconfiguration. -
Method Summary
Modifier and TypeMethodDescriptionThe addresses of the routing servers to use to connect to an Axon Server cluster.
-
Constructor Details
-
PropertiesAxonServerConnectionDetails
Constructs aPropertiesAxonServerConnectionDetailsinstance based on the givenconfiguration.- Parameters:
configuration- AnAxonServerConfigurationto base thisPropertiesAxonServerConnectionDetailsinstance on.
-
-
Method Details
-
routingServers
Description copied from interface:AxonServerConnectionDetailsThe addresses of the routing servers to use to connect to an Axon Server cluster. The string should contain a comma separated list of AxonServer servers. Each element is hostname or hostname:grpcPort. When no grpcPort is specified, default port 8124 is used.- Specified by:
routingServersin interfaceAxonServerConnectionDetails- Returns:
- a string containing the addresses of the routing servers to connect with
-