amq client with Continuations, not receiving topic notifications

2012-06-18 Thread Michael Harrison
I have an ActiveMQ / amq.js client that I have written which uses continuations. My client successfully connects and registers a listener for my topic (I see the listener show up in the ActiveMQ Admin console), however, when I send a message to this topic is causes my listener/connection to get cl

AjaxServlet amq timeout issue

2012-06-15 Thread Michael Harrison
I am using the AJAX client functionality implemented in _amq.js and am having difficulties receiving notifications. When the startPolling() function in amq send the ajax request to the servlet with the hardcoded "timeout=0" my listener never receives notifications (the polling connection is open).