Update: I was able to get past this issue.
FYI, I set amq.poll = false; This prevented the polling connection from
being created and allowed the async callback to be used via continuations.
--
View this message in context:
http://activemq.2283324.n4.nabble.com/AjaxServlet-amq-timeout-issue
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).