This section describes how to configure WSO2 ESB to work as a JMS-to-JMS proxy service.
Diagram 3 : Simple JMS to JMS proxy service
...
To place a message into a JMS queue, execute following command from <ESB_HOME>/samples/axis2Client directory.
Code Block |
---|
ant stockquote -Dmode=placeorder -Dtrpurl="jms:/JMStoHTTPStockQuoteProxyStockQuoteProxy?transport.jms.ConnectionFactoryJNDIName=QueueConnectionFactory&java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory&java.naming.provider.url=tcp://localhost:61616&transport.jms.ContentTypeProperty=Content-Type&transport.jms.DestinationType=queue" |
Generally, JMS is used for one-way, asynchronous message exchange. However you can perform synchronous messaging also with JMS. Described below is how to configure WSO2 ESB for two-way and quad-channel synchronous messaging. Child pages (Children Display)