Class JmsConfiguration
java.lang.Object
com.appiancorp.common.config.AbstractConfiguration
com.appiancorp.suiteapi.messaging.JmsConfiguration
public class JmsConfiguration
extends com.appiancorp.common.config.AbstractConfiguration
Contains the values pulled out of jms.properties. Also contains the keys that should be used in
jms.properties.
-
Field Summary
FieldsFields inherited from class com.appiancorp.common.config.AbstractConfiguration
CUSTOM_PROPERTIES_NAME, DELIMITER, SYS_PROPS_PREFIX -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe prefix to use for auto-generated client IDs.The client IDs to use for connecting to JMS.intThe password used for the JMS createConnection method.The username used for the JMS createConnection method.The broker URL to use when running an embedded JMS brokerintThe maximum number of topic connections.The queue prefix.The topic prefix.getURL()The java.naming.provider.url to use.booleanShould a local embedded broker be started, if a jms/AppianProcessIntegrationConnectionFactory is also defined default trueMethods inherited from class com.appiancorp.common.config.AbstractConfiguration
cacheConfigurationValues, clearCache, getAeHome, getBoolean, getClass, getConfiguration, getDefaultFileRefreshMs, getDouble, getDuration, getFallbackPropertiesConfigurations, getHostAndPort, getHostAndPortSet, getInt, getInteger, getIntegerSet, getKeys, getList, getList, getLong, getLong, getNonNegativeInt, getNonZeroPositiveInt, getPositiveDouble, getPositiveLong, getResourceBundleName, getResourceKey, getSet, getSet, getString, getString, getStringIgnoringCache, getVersion, getVersion, init, init, loadCustomProperties, loadCustomPropertiesFile, onReload, setBooleanKeyListener, subset
-
Field Details
-
JMS_CONNECTION_FACTORY_RESOURCE
- See Also:
-
EMBEDDED_BROKER_ENABLED_KEY
- See Also:
-
-
Constructor Details
-
JmsConfiguration
public JmsConfiguration()
-
-
Method Details
-
getClientIds
The client IDs to use for connecting to JMS. These IDs are represented in a comma-delimited string in the file, and this string is split up into an array of client IDs. EitherCLIENT_IDS_KEYor bothCLIENT_ID_PREFIX_KEYandMAX_CONNECTIONS_KEYmust be populated. -
getClientIdPrefix
The prefix to use for auto-generated client IDs. EitherCLIENT_IDS_KEYor bothCLIENT_ID_PREFIX_KEYandMAX_CONNECTIONS_KEYmust be populated. -
getMaxTopicConnections
public int getMaxTopicConnections()The maximum number of topic connections. EitherCLIENT_IDS_KEYor bothCLIENT_ID_PREFIX_KEYandMAX_CONNECTIONS_KEYmust be populated. -
getConnectionFactoryNames
-
getProcessTopic
-
getTopicPrefix
The topic prefix. This will be prepended to all topic names before sending anInternalJmsMessageto JMS. The topic prefix is often defined by the JMS provider. -
getQueuePrefix
The queue prefix. This will be prepended to all queue names before sending anInternalJmsMessageto JMS. The topic prefix is often defined by the JMS provider. -
getCreateConnectionUsername
The username used for the JMS createConnection method. -
getCreateConnectionPassword
The password used for the JMS createConnection method. -
getURL
The java.naming.provider.url to use. -
getClientIdsSize
public int getClientIdsSize() -
getEmbeddedBrokerUrl
The broker URL to use when running an embedded JMS broker -
isEmbeddedBrokerEnabled
public boolean isEmbeddedBrokerEnabled()Should a local embedded broker be started, if a jms/AppianProcessIntegrationConnectionFactory is also defined default true
-