On 22/01/2008, Fady <[EMAIL PROTECTED]> wrote: > > Hello, > > I am new to JMS and ActiveMQ so I am probably doing something stupid but > can't figure out what it is: > > I am running ActiveMQ 5.0.0 imbedded in a Tomcat application. I have a > non-persistent producer, from a non-transacted and autoacknowledge session, > creating messages in a queue and a MessageListener processing them in an > onMessage event. > > Everything goes fine apart from the queue size which keeps growing (as > reported by JMX).
If the queue size is growing, do you have a producer sending more messages? > I was assuming messages would be automatically removed once the onMessage > method terminates. It should be. Does your onMessage() method definitely complete without throwing any exceptions? -- James ------- http://macstrac.blogspot.com/ Open Source Integration http://open.iona.com