activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Rose <>
Subject Re: Problem using Ajax to listen to a queue/topic
Date Wed, 12 Jan 2011 15:03:25 GMT
Hi Alikic,
  Do you know what exactly made the difference?  Is it a specific HTTP
header value or something else that resulted in the consumer getting
dropped?  I'm using the amq.js code, but I also see behavior similar to what
you described previously, where after receiving the first batch of messages
sent to the topic the consumer count drops to zero and I stop receiving new


On Fri, Dec 31, 2010 at 5:40 PM, Alex Dean <> wrote:

> On Dec 29, 2010, at 12:13 PM, alikic wrote:
> >
> > OK, mystery solved:)
> >
> > I forgot to mentioned that I am *NOT* using any of the standard AMQ Ajax
> > adapters that come with ActiveMQ distribution. As I am experimenting with
> > Sencha Touch, I created a Sencha Touch adapter by looking at how the
> jQuery
> > one is implemented. It turned out that the adapter was working fine for
> > POST, but not for GET - it wasn't setting URL parameters, as you can see
> > from my previous message. It is fixed now.
> >
> > Here is the working code:
> >
> > // AMQ Ajax Adapter for Sencha Touch
> What other dependencies need to be met to use this adapter?  Just ext.js?
>  I think it would be nice to add this adapter to ActiveMQ.  Could you open a
> ticket and attach your new adapter as a patch?
> thanks,
> alex

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message