Class DistributedCommandBusProperties.SpringCloudProperties

java.lang.Object
org.axonframework.extension.springboot.DistributedCommandBusProperties.SpringCloudProperties
Enclosing class:
DistributedCommandBusProperties

public static class DistributedCommandBusProperties.SpringCloudProperties extends Object
  • 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

      public String 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

      public void setFallbackUrl(String fallbackUrl)
      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.