...
You can define a JMS queue name and connection factory parameters in the JMS connection URL. Values of connection factory parameters depend on the type of the JMS broker. Listed below are examples of how the JMS connection URL can be defined for WSO2 Message Broker and for ActiveMQ.
Example JMS connection URL for ActiveMQ
Code Block | ||
---|---|---|
Note | ||
| ||
When entering the following JMS connection URLs in the Management Console, be sure to replace the '
|
Example JMS connection URL for ActiveMQ
Code Block |
---|
jms:/SimpleStockQuoteService?transport.jms.ConnectionFactoryJNDIName=QueueConnectionFactory&java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory&java.naming.provider.url=tcp://localhost:61616&transport.jms.DestinationType=queue |
...
Code Block | ||
---|---|---|
jms:/StockQuotesQueue?transport.jms.ConnectionFactoryJNDIName=QueueConnectionFactory&java.naming.factory.initial=org.wso2.andes.jndi.PropertiesFileInitialContextFactory&java.naming.provider.url=repository/conf/jndi.properties&transport.jms.DestinationType=queue | ||
Note | ||
| ||
When entering these URLs in the management console, replace '&' character in the endpoint URL with '&' |
Other Configurations
In addition to configuring the ESB proxy service as shown above, follow the steps below.
...