This section describes how to configure WSO2 Enterprise Integrator (WSO2 EI) to work as a JMS-to-JMS proxy service.
Follow the steps below to configure WSO2 EI to listen to a JMS queue and consume messages and then send those messages to another JMS queue.
- Configure WSO2 EI with Apache ActiveMQ and set up the JMS listener and sender. For instructions, see Configure with ActiveMQ.
Create a proxy service with the following configuration.To create a proxy service using Tooling, see Working with Proxy Services via Tooling.
When entering the above URLs in the management console, replace '
&' character in the endpoint URL with '
In the sample configuration above, WSO2 EI listens to a JMS queue named
StockQuoteProxyand sends messages to another queue named
- To place a message into a JMS queue, execute following command from
You can view the ActiveMQ queues by accessing the ActiveMQ management console using the URL
admin as both the username and password.
Generally, JMS is used for one-way, asynchronous message exchange. However you can perform synchronous messaging also with JMS. For more information, see JMS Synchronous Invocations : Dual Channel HTTP-to-JMS and JMS Synchronous Invocations : Quad Channel JMS-to-JMS.