You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by manua <ag...@gmail.com> on 2009/04/01 18:04:59 UTC

Write a Servlet that subscribes to activemq broker

Hi All,

I am trying to write a servlet that subscribes to activemq broker and
updates the ajax client, whenever any message is recieved by it, ie the
servlet will act as a subscriber as well and will send data to the ajax
clien on onMessage.

Is it possible. 

I am thinking the Servelt should implement the messagelistener. Then
onMessage send data to the JavaScript page. But I'm not sure how to do this.

Any help in this regard, will be highly appreciated.

Thanks,
Manu


-- 
View this message in context: http://www.nabble.com/Write-a-Servlet-that-subscribes-to-activemq-broker-tp22829534p22829534.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Write a Servlet that subscribes to activemq broker

Posted by huntc <hu...@mac.com>.
Check out the documentation:

http://activemq.apache.org/ajax.html
-- 
View this message in context: http://www.nabble.com/Write-a-Servlet-that-subscribes-to-activemq-broker-tp22829534p23680284.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.