Just a second...

Example: Configuring JMS providers for the JMS adapter

Use the providers element of the JMSAdapter.xml configuration file to define the JMS providers that the JMS adapter can connect to.

Copy any provider JAR files that are required into the ext directory of your Diffusion™ server to ensure that they are on the server classpath.

ActiveMQ

You can connect to an ActiveMQ instance by defining a provider element that contains the required JNDI, credentials, and session information. See the following example:
<providers>
    <provider name="myActiveMQ">
        <jndiProperties>
            <property name="java.naming.factory.initial" value="org.apache.activemq.jndi.ActiveMQInitialContextFactory"/>
            <property name="java.naming.provider.url" value="tcp://hostname:61616"/>
        </jndiProperties>

        <jmsProperties connectionFactoryName="ConnectionFactory">
            <credentials>
                <username>user</username>
                <password>password</password>
            </credentials>
        </jmsProperties>

        <sessions>
            <anonymousSessions number="1" transacted="false" acknowledgeMode="AUTO_ACKNOWLEDGE" />
        </sessions>

    </provider>

</providers>

IBM MQ

You can connect to an IBM MQ instance by defining a provider element that contains the required information. See the following example:
<providers>
    <provider name="myIBMMQ">
        <jndiProperties>
            <property name="java.naming.factory.initial" value="com.sun.jndi.fscontext.RefFSContextFactory"/>
            <property name="java.naming.provider.url" value="hostname:1414"/>
        </jndiProperties>

        <jmsProperties connectionFactoryName="CF2"
            <sessions>
                <anonymousSessions number="2" transacted="false" acknowledgeMode="AUTO_ACKNOWLEDGE"/>
            </sessions>
        </jmsProperties>
        
    </provider>
</providers>