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
Fields inherited from class com.appiancorp.common.config.AbstractConfiguration
AE_HOME_KEY, CUSTOM_PROPERTIES_NAME, DELIMITER, SYS_PROPS_PREFIX
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe prefix to use for auto-generated client IDs.The client IDs to use for connecting to JMS.int
The 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 brokerint
The maximum number of topic connections.The queue prefix.The topic prefix.getURL()
The java.naming.provider.url to use.boolean
Should 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, getHostAndPort, getHostAndPortSet, getInt, getInteger, getIntegerSet, getKeys, getList, getList, getLong, getNonZeroPositiveInt, getPositiveInt, getPositiveLong, getResourceBundleName, getResourceKey, getSet, getSet, getString, getString, getStringIgnoringCache, getVersion, getVersion, init, init, loadCustomPropertiesConfiguration, loadCustomPropertiesFile, loadFallbackPropertiesConfigurations, 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_KEY
or bothCLIENT_ID_PREFIX_KEY
andMAX_CONNECTIONS_KEY
must be populated. -
getClientIdPrefix
The prefix to use for auto-generated client IDs. EitherCLIENT_IDS_KEY
or bothCLIENT_ID_PREFIX_KEY
andMAX_CONNECTIONS_KEY
must be populated. -
getMaxTopicConnections
public int getMaxTopicConnections()The maximum number of topic connections. EitherCLIENT_IDS_KEY
or bothCLIENT_ID_PREFIX_KEY
andMAX_CONNECTIONS_KEY
must be populated. -
getConnectionFactoryNames
-
getProcessTopic
-
getTopicPrefix
The topic prefix. This will be prepended to all topic names before sending anInternalJmsMessage
to 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 anInternalJmsMessage
to 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
-