Re: ajax clients must refresh browser to get data

2011-09-05 Thread stratio
Since I also got myself into this problem I would like to know if it's a known issue (and maybe solved in any recent snapshot) Thanx -- View this message in context: http://activemq.2283324.n4.nabble.com/ajax-clients-must-refresh-browser-to-get-data-tp2550864p3791290.html Sent from the Act

Re: ajax clients must refresh browser to get data

2010-09-23 Thread Dejan Bosanac
Hi Alex, this should be debugged a bit more. The code you should look at is MessageListenerServlet.onMessageAvailable() as there the consumers are closed when message is received with no continuation. That maybe should be revisited. You can debug it more, by adding some trace you need, start we

Re: ajax clients must refresh browser to get data

2010-09-22 Thread Alex Dean
Change logging levels and discovered a bit more about the problem. 1. start broker & start a publisher script 2. view ajax page in browser. receiving messages normally 3. shut down broker 4. close browser window 5. start broker 6. start publisher 7. view page again in browser This is what

ajax clients must refresh browser to get data

2010-09-22 Thread Alex Dean
I am trying to track down a problem we see when using activemq+ajax. Sometimes when a web page (which uses amq.js) is first loaded, the amq.js POST & GET requests will be made as normal, but no data is returned even though there are messages being published to the desired topic. Each GET just