Re: AMQ 5.4.2 /5.5 versions , poll() is not giving head element of th equeue.

2011-07-16 Thread Timothy Bish
On Sat, 2011-07-16 at 09:15 -0700, vijayaratha wrote: > Hi all, > > I have only single producer and consumer..No priority set.. > > I'm doing polling to remove message from queue; > poll(){ > consumer = createConsumer(session,destination,jmsSpec11); > Object msg = consumer.receive(); > > }

AMQ 5.4.2 /5.5 versions , poll() is not giving head element of th equeue.

2011-07-16 Thread vijayaratha
Hi all, I have only single producer and consumer..No priority set.. I'm doing polling to remove message from queue; poll(){ consumer = createConsumer(session,destination,jmsSpec11); Object msg = consumer.receive(); } i call poll() after doing peek() ..anyway poll removes the later message

Re: Ajax and Tomcat 6 - based on web-demo with a non embedded broker

2011-07-16 Thread jaskaran
Hi , I am also getting the same error on starting Tomcat: SEVERE: Servlet.service() for servlet AjaxServlet threw exception java.lang.IllegalStateException: !(Jetty || Servlet 3.0 || ContinuationFilter) at org.eclipse.jetty.continuation.ContinuationSupport.getContinuation(ContinuationSup

ActiveMQ 5.5: Ajax with Tomcat

2011-07-16 Thread jaskaran
Hi, I have a spring web application which is deployed on Tomcat. I added the configuration for the AjaxServlet in the web.xml but am getting this error on starting the server:- SEVERE: Servlet.service() for servlet AjaxServlet threw exception java.lang.IllegalStateException: !(Jetty || Servlet 3