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 messages.
-Jeff On Fri, Dec 31, 2010 at 5:40 PM, Alex Dean <[email protected]> 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
