Class MessagingProperties
- java.lang.Object
-
- com.broadleafcommerce.common.messaging.environment.MessagingProperties
-
@ConfigurationProperties("broadleaf.messaging") public class MessagingProperties extends Object
-
-
Constructor Summary
Constructors Constructor Description MessagingProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)StringgetClusterK8sAppLabel()If usingkubernetescluster service implementation type, this is the name of the pod label used to group common service instances.StringgetClusterK8sAppLabelValue()If usingkubernetescluster service implementation type, this is the value for the pod label.StringgetClusterServiceImplementationType()Specify which camel cluster service implementation to support.Class<?>getClustServiceImplementation()Deprecated.cluster service implementation now supported byclusterServiceImplementationTypeImplementation of CamelClusterService to utilizeStringgetFileLockRootPath()Deprecated.Not required.inthashCode()voidsetClusterK8sAppLabel(String clusterK8sAppLabel)If usingkubernetescluster service implementation type, this is the name of the pod label used to group common service instances.voidsetClusterK8sAppLabelValue(String clusterK8sAppLabelValue)If usingkubernetescluster service implementation type, this is the value for the pod label.voidsetClusterServiceImplementationType(String clusterServiceImplementationType)Specify which camel cluster service implementation to support.voidsetClustServiceImplementation(Class<?> clustServiceImplementation)Deprecated.cluster service implementation now supported byclusterServiceImplementationTypeImplementation of CamelClusterService to utilizevoidsetFileLockRootPath(String fileLockRootPath)Deprecated.Not required.StringtoString()
-
-
-
Method Detail
-
getClustServiceImplementation
@Deprecated public Class<?> getClustServiceImplementation()
Deprecated.cluster service implementation now supported byclusterServiceImplementationTypeImplementation of CamelClusterService to utilize
-
getFileLockRootPath
@Deprecated public String getFileLockRootPath()
Deprecated.Not required. UseclusterServiceImplementationTypesupport 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, andnone.noneis useful to disable out-of-the-box config, presumably so you can manually add different or new cluster service implementation support. Default isfile.fileis suitable for local development, but in a real-world production environment,zookeeperorkubernetesshould be used instead in order to support proper cluster service establishment across multiple instances of a given service.
-
getClusterK8sAppLabel
public String getClusterK8sAppLabel()
If usingkubernetescluster service implementation type, this is the name of the pod label used to group common service instances. The default value isk8s-app.
-
getClusterK8sAppLabelValue
public String getClusterK8sAppLabelValue()
If usingkubernetescluster service implementation type, this is the value for the pod label. The default isunknown. 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 byclusterServiceImplementationTypeImplementation of CamelClusterService to utilize
-
setFileLockRootPath
@Deprecated public void setFileLockRootPath(String fileLockRootPath)
Deprecated.Not required. UseclusterServiceImplementationTypesupport 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, andnone.noneis useful to disable out-of-the-box config, presumably so you can manually add different or new cluster service implementation support. Default isfile.fileis suitable for local development, but in a real-world production environment,zookeeperorkubernetesshould 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 usingkubernetescluster service implementation type, this is the name of the pod label used to group common service instances. The default value isk8s-app.
-
setClusterK8sAppLabelValue
public void setClusterK8sAppLabelValue(String clusterK8sAppLabelValue)
If usingkubernetescluster service implementation type, this is the value for the pod label. The default isunknown. 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.
-
canEqual
protected boolean canEqual(Object other)
-
-