I am trying JavaScript library i.e. amq.js for sending messages to a Topic on ActiveMQ. I am successfully able to listen the messages published on a particular topic and process them in messageListener using amq.js. I need to send a message using amq.js to topic in the following format:
<http://activemq.2283324.n4.nabble.com/file/n4686373/Capture.png> How should I compose this message, taking data from above screenshot, so that it can be sent via AJAX using following method: *amq.sendMessage("topic://doSomething",myMessage);* -- View this message in context: http://activemq.2283324.n4.nabble.com/Sending-Message-to-ActiveMQ-Topic-Using-AJAX-amq-js-tp4686373.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.
