...
Following is the Add JMS Message Store screen that you will see on the Management Console of the Integration Profile of WSO2 Enterprise Integrator (WSO2 EI) Management Console.
When you add a JMS message store, it is required to specify values for the following:
...
For instructions on adding a required type of message store via the EI Management Console of the Integration Profile, see Adding a Message Store.
AnchorJMSPara JMSPara
Additional JMS message store parameters
JMSPara | |
JMSPara |
Parameter Name | Value | Required |
---|---|---|
JNDI Queue Name ( store.jms.destination ) | The message store queue name. | Though this is not a required parameter, we recommend specifying a value for this. |
Connection factory ( store.jms.connection.factory ) | The JNDI name of the connection factory that is used to create jms connections | Though this is not a required parameter, we recommend specifying a value for this. |
User Name ( store.jms.username ) | The user name to connect to the broker. | No |
Password (store.jms.password ) | The password to connect to the broker. | No |
JMS API Specification Version ( store.jms.JMSSpecVersion ) | The JMS API version to be used. Possible values are 1.1 or 1.0. | No. The default value is 1.1. |
vender.class.loader.enabled | Set to false when using IBM MQ, which requires skipping the external class loader. | No, except when using IBM MQ |
Following is a sample JMS message store configuration that uses the Message Broker profile of WSO2 EI as the message broker:
Code Block | ||
---|---|---|
| ||
<messageStore name="JMSMS" class="org.apache.synapse.message.store.impl.jms.JmsStore" xmlns="http://ws.apache.org/ns/synapse"> <parameter name="java.naming.factory.initial">org.wso2.andes.jndi.PropertiesFileInitialContextFactory</parameter> <parameter name="java.naming.provider.url">repository/conf/jndi.properties</parameter> <parameter name="store.jms.destination">ordersQueue</parameter> <parameter name="store.jms.connection.factory">queue<>QueueConnectionFactory</parameter> <parameter name="store.jms.JMSSpecVersion">1.1</parameter> </messageStore> |
...
Code Block | ||
---|---|---|
| ||
<messageStore name="JMSMS" class="org.apache.synapse.message.store.impl.jms.JmsStore" xmlns="http://ws.apache.org/ns/synapse"> <parameter name="java.naming.factory.initial">org.apache.activemq.jndi.ActiveMQInitialContextFactory</parameter> <parameter name="java.naming.provider.url">tcp://localhost:61616</parameter> <parameter name="store.jms.destination">ordersQueue</parameter> <parameter name="store.jms.connection.factory">queue<>QueueConnectionFactory</parameter> <parameter name="store.jms.JMSSpecVersion">1.1</parameter> </messageStore> |
...