activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From absaar <raj2absaarja...@gmail.com>
Subject Sending Message to ActiveMQ Topic Using AJAX (amq.js)
Date Tue, 14 Oct 2014 11:44:35 GMT
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.

Mime
View raw message