activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy Gross <a...@andygross.org>
Subject Re: Difference between MessageServlet & MessageListenerServlet (AJAX)
Date Fri, 24 Oct 2008 15:43:37 GMT

The MessageListenerServlet is the one you want - it's the Servlet that  
keeps client subscription state and implements the Ajax "long poll"  
server support that amq.js uses.

On Oct 24, 2008, at 10:45 AM, cmoulliard wrote:

>
> Hi,
>
> What is the difference between the MessageServlet &  
> MessageListenerServlet
> and which one must be used for a AJAX project ?
>
> I'm confused because the documentation mentions that we must use the
> MessageListenerServlet for a Ajax project BUT the web.xml config  
> file of the
> demo project use the other ?
>
> KR,
>
> Charles Moulliard
>
> -----
> Enterprise Architect
>
> Xpectis
> 12, route d'Esch
> L-1470 Luxembourg
>
> Phone +352 25 10 70 470
> Mobile +352 621 45 36 22
>
> e-mail : cmoulliard@xpectis.com
> web site :  www.xpectis.com www.xpectis.com
> My Blog :  http://cmoulliard.blogspot.com/ http://cmoulliard.blogspot.com/
> -- 
> View this message in context: http://www.nabble.com/Difference-between-MessageServlet---MessageListenerServlet-%28AJAX%29-tp20151519p20151519.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>


Mime
View raw message