Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This section describes how to configure the WSO2 ESB's JMS transport with Microsoft Message Queuing (MSMQ)

...

1. Download axis2-transport-msmq-1.1.0-wso2v6wso2v9.jar for jar for 64x or 32x, and place that in <ESB_HOME>/repository/components/dropins directory. MSMQ bridging requires JNI invocation, and WSO2 ships two dlls for 64bit and 32bit O/S respectively. Therefore, make sure you download the correct file suitable for your environment.

...

4. If you haven't already, download and install WSO2 ESB as described in Getting Started . 

Setting up the JMS Listener

5. Add the following configuration to <ESB_HOME>/repository/conf/axis2/axis2.xml file.

Code Block
languagehtml/xml
<transportReceiver name="msmq" class="org.apache.axis2.transport.msmq.MSMQListener">
     <parameter name="msmq.receiver.host" locked="false">localhost</parameter>
</transportReceiver>

Setting up the JMS Sender

6. To enable the JMS transport sender, add the following JMS transport listener configuration in <ESB_HOME>/repository/conf/axis2/axis2.xml file. 

Code Block
languagehtml/xml
<transportSender name="msmq" class="org.apache.axis2.transport.msmq.MSMQSender"/>
Info
For details on the JMS configuration parameters used in the code segments above, see JMS Connection Factory Parameters.

...