This document describes the configuration of connection factories, i.e. ConnectionFactory, TopicConnectionFactory, QueueConnectionFactory, XAConnectionFactory, XATopicConnectionFactory and XAQueueConnectionFactory instances.
Connection factories are bound in JNDI by the OpenJMS server, to make them available to clients.
Connection factories are configured in the $OPENJMS_HOME/config/openjms.xml file. E.g:
<Connectors> <Connector scheme="tcp"> <ConnectionFactories> <ConnectionFactory name="CF"/> <QueueConnectionFactory name="QueueCF"/> <TopicConnectionFactory name="TopicCF"/> </ConnectionFactories> </Connector> </Connectors>
In the above, three connection factories will be bound in JNDI:
ConnectionFactory
named CFQueueConnectionFactory
named QueueCFTopicConnectionFactory
named TopicCFNotes: