activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zanderfax <jdk...@pearldf.org>
Subject Re: Looking for Help ActiveMQ and Jetty
Date Fri, 07 Sep 2007 00:09:12 GMT

So I don't have to configure anything on the Jetty side to have the topics
available?

J


chago wrote:
> 
> 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#a12533778
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message