Class DistributedCommandBusProperties.SpringCloudProperties
java.lang.Object
org.axonframework.extension.springboot.DistributedCommandBusProperties.SpringCloudProperties
- Enclosing class:
DistributedCommandBusProperties
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the URL relative to the host's root to retrieve Instance Meta Data from.booleanIndicates whether to fall back to HTTP GET when retrieving Instance Meta Data from the Discovery Server fails.voidsetFallbackToHttpGet(boolean fallbackToHttpGet) Whether to fall back to HTTP GET when retrieving Instance Meta Data from the Discovery Server fails.voidsetFallbackUrl(String fallbackUrl) Sets the URL relative to the host's root to retrieve Instance Meta Data from.
-
Constructor Details
-
SpringCloudProperties
public SpringCloudProperties()
-
-
Method Details
-
isFallbackToHttpGet
public boolean isFallbackToHttpGet()Indicates whether to fall back to HTTP GET when retrieving Instance Meta Data from the Discovery Server fails.- Returns:
- whether to fall back to HTTP GET when retrieving Instance Meta Data from the Discovery Server fails.
-
setFallbackToHttpGet
public void setFallbackToHttpGet(boolean fallbackToHttpGet) Whether to fall back to HTTP GET when retrieving Instance Meta Data from the Discovery Server fails.- Parameters:
fallbackToHttpGet- whether to fall back to HTTP GET when retrieving Instance Meta Data from the Discovery Server fails.
-
getFallbackUrl
Returns the URL relative to the host's root to retrieve Instance Meta Data from. This is also the address where this node will expose its own Instance Meta Data.- Returns:
- the URL relative to the host's root to retrieve Instance Meta Data from.
-
setFallbackUrl
Sets the URL relative to the host's root to retrieve Instance Meta Data from. This is also the address where this node will expose its own Instance Meta Data.- Parameters:
fallbackUrl- the URL relative to the host's root to retrieve Instance Meta Data from.
-