Skip to main content
Version: 7.2402.x.x RR

JmsConnectionPool

The JmsConnectionPool is used to create JMS sessions on a connection to a JMS server. It uses JNDI to lookup the connection factory.

Configuration

NameType, usage constraints, defaultsDescription
jndiPropertiesrequired: paraMap
default: none
type: string/string map
A map containing the Java properties to set up JNDI.
connectionFactoryNameoptional: paraVal
default: ConnectionFactory
type: JNDI name
The JNDI name of the connection factory.

Example

Example connecting an ActiveMQ server:

<object type="JmsConnectionPool" name="jmsService">
<dp:paraMap name="jndiProperties">
<value name="java.naming.factory.initial" value="org.apache.activemq.jndi.ActiveMQInitialContextFactory" />
<value name="java.naming.provider.url" value="tcp://server:61616" />
</dp:paraMap>
</object>