How to set an endpoint to push a data to ActiveMQ using JMS Sender. When I gave endpoint as jms:/sampleQueue?transport.jms.ConnectionFactoryJNDIName=QueueConnectionFactory&java.naming.factory.initial=org.apache. activemq.jndi.ActiveMQInitialContextFactory&java.naming.provider.url=tcp://dev.messagebroker.yenlo.local:61616& transport.jms.DestinationType=queue
1 Answers
0
votes
When you send a message to ActiveMQ you should set the URL in below format.
jms:/sampleQueue?transport.jms.ConnectionFactoryJNDIName=QueueConnectionFactory&java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory&java.naming.provider.url=tcp://localhost:61616&transport.jms.DestinationType=queue
When entering the above URLs in the management console, replace & character in the endpoint URL with &
for more https://docs.wso2.com/display/ESB500/ESB+as+a+JMS+Producer