Class MessagingProperties

java.lang.Object
com.broadleafcommerce.common.messaging.environment.MessagingProperties

@ConfigurationProperties("broadleaf.messaging") public class MessagingProperties extends Object
  • Constructor Details

    • MessagingProperties

      public MessagingProperties()
  • Method Details

    • getClustServiceImplementation

      @Deprecated public Class<?> getClustServiceImplementation()
      Deprecated.
      cluster service implementation now supported by clusterServiceImplementationType Implementation of CamelClusterService to utilize
    • getFileLockRootPath

      @Deprecated public String getFileLockRootPath()
      Deprecated.
      Not required. Use clusterServiceImplementationType support instead. If using FileLockClusterService, the root path to store the lock files
    • getClusterServiceImplementationType

      public String getClusterServiceImplementationType()
      Specify which camel cluster service implementation to support. Supported values are: file, zookeeper, kubernetes, and none. none is useful to disable out-of-the-box config, presumably so you can manually add different or new cluster service implementation support. Default is file. file is suitable for local development, but in a real-world production environment, zookeeper or kubernetes should be used instead in order to support proper cluster service establishment across multiple instances of a given service.
    • getClusterK8sAppLabel

      public String getClusterK8sAppLabel()
      If using kubernetes cluster service implementation type, this is the name of the pod label used to group common service instances. The default value is k8s-app.
    • getClusterK8sAppLabelValue

      public String getClusterK8sAppLabelValue()
      If using kubernetes cluster service implementation type, this is the value for the pod label. The default is unknown. This value must be changed (generally as a environment variable on a pod definition) in order to inform the camel support running in that pod about the pod's identity.
    • setClustServiceImplementation

      @Deprecated public void setClustServiceImplementation(Class<?> clustServiceImplementation)
      Deprecated.
      cluster service implementation now supported by clusterServiceImplementationType Implementation of CamelClusterService to utilize
    • setFileLockRootPath

      @Deprecated public void setFileLockRootPath(String fileLockRootPath)
      Deprecated.
      Not required. Use clusterServiceImplementationType support instead. If using FileLockClusterService, the root path to store the lock files
    • setClusterServiceImplementationType

      public void setClusterServiceImplementationType(String clusterServiceImplementationType)
      Specify which camel cluster service implementation to support. Supported values are: file, zookeeper, kubernetes, and none. none is useful to disable out-of-the-box config, presumably so you can manually add different or new cluster service implementation support. Default is file. file is suitable for local development, but in a real-world production environment, zookeeper or kubernetes should be used instead in order to support proper cluster service establishment across multiple instances of a given service.
    • setClusterK8sAppLabel

      public void setClusterK8sAppLabel(String clusterK8sAppLabel)
      If using kubernetes cluster service implementation type, this is the name of the pod label used to group common service instances. The default value is k8s-app.
    • setClusterK8sAppLabelValue

      public void setClusterK8sAppLabelValue(String clusterK8sAppLabelValue)
      If using kubernetes cluster service implementation type, this is the value for the pod label. The default is unknown. This value must be changed (generally as a environment variable on a pod definition) in order to inform the camel support running in that pod about the pod's identity.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object