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
Name | Type, usage constraints, defaults | Description |
---|---|---|
jndiProperties | required: paraMap default: none type: string/string map | A map containing the Java properties to set up JNDI. |
connectionFactoryName | optional: 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>