Table of Contents |
---|
Introduction
This sample This sample demonstrates how one-way message bridging from from JMS to to HTTP can be done using the inbound JMS endpoint of the ESB. The JMS inbound protocol implementation in the ESB requires an active JMS server instance to receive the messages that will be consumed by the ESB. This sample uses ActiveMQ as the JMS server. If you are using WSO2 Message Broker as your JMS server, see Sample 901.
Prerequisites
- Download and set up Apache ActiveMQ. Instructions can be found in section Installation Prerequisites .
Copy the following client libraries from the
ActiveMQ 5.8.0 and above<AMQ_HOME>/lib
directory to the<
ESB_HOME>/repository/components/lib
directory.activemq-broker-5.8.0.jar
activemq-client-5.8.0.jar
geronimo-jms_1.1_spec-1.1.1.jar
geronimo-j2ee-management_1.1_spec-1.0.1.jar
hawtbuf-1.9.jar
Earlier version of ActiveMQ
activemq-core-5.5.1.jar
geronimo-j2ee-management_1.0_spec-1.0.jar
geronimo-jms_1.1_spec-1.1.1.jar
Building the sample
The XML configuration for this sample is as follows:
...