Re: Spring JmsTemplate receive() returns null with messages in Queue

2008-10-22 Thread mkeenan
James.Strachan wrote: > > How many consumers do you have active? (See JMX). See these FAQ entries... > > http://activemq.apache.org/i-do-not-receive-messages-in-my-second-consumer.html > http://activemq.apache.org/what-is-the-prefetch-limit-for.html > I am not the original poster, but I am ha

Re: Spring JmsTemplate receive() returns null with messages in Queue

2008-10-22 Thread James Strachan
How many consumers do you have active? (See JMX). See these FAQ entries... http://activemq.apache.org/i-do-not-receive-messages-in-my-second-consumer.html http://activemq.apache.org/what-is-the-prefetch-limit-for.html 2008/7/11 Yohan Liyanage <[EMAIL PROTECTED]>: > > Hi, > > I tried to use JmsTe

Re: Spring JmsTemplate receive() returns null with messages in Queue

2008-10-21 Thread kpalania
I am running onto the same issue as well with ActiveMQ 5.1 and Spring 2.5. If I don't use JmsTemplate or use it but do a blocking call, it is fine. However, I am unable to use JmsTemplate with it being non-blocking. Any thoughts? Yohan Liyanage wrote: > > Hi, > > I tried to use JmsTemplate's r

Re: Spring JmsTemplate receive() returns null with messages in Queue

2008-08-18 Thread tjhaz
I have noticed that this problem does not occur on the nightly builds of activemq. DId you ever find out anything about this issue? Thanks Yohan Liyanage wrote: > > Hi, > > I tried to use JmsTemplate's receive() method for synchronous consumption > of a Queue, but the method returns 'null',

Spring JmsTemplate receive() returns null with messages in Queue

2008-07-11 Thread Yohan Liyanage
Hi, I tried to use JmsTemplate's receive() method for synchronous consumption of a Queue, but the method returns 'null', even when there are messages in the queue. The JmsTemplate (with a time out of two seconds) successfully receives first messages, but after a while, it is not able to consume