activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chago <nab...@visualxs.com>
Subject Re: Looking for Help ActiveMQ and Jetty
Date Fri, 07 Sep 2007 00:02:35 GMT

When using the javascript client (amq.js) you subscribe to topics and queues
in your javascript code. For example, in the chat.js file when the 'join'
button is pressed, an event fires that is coded as:

amq.addListener('chat', 'topic://CHAT.DEMO', chatHandlerCallback);

Any messages posted to that topic (regardless of whether the source is
another client's javascript call or a server-side JMS call) will be received
by the javascript function chatHandler(message).

-- jim


Zanderfax wrote:
> 
> Next question, how do I define what queue I want to watch?  I have tried
> to follow the docs on the Jetty page, but I am not sure that I have the
> right things in the jetty.xml and jetty-plus.xml files. Or is that not
> where you set that up?  The docs are not very clear on this..
> 

-- 
View this message in context: http://www.nabble.com/Looking-for-Help-ActiveMQ-and-Jetty-tf4379195s2354.html#a12533724
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message