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);*
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);*