activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mkeenan <>
Subject Re: Spring JmsTemplate receive() returns null with messages in Queue
Date Wed, 22 Oct 2008 13:12:27 GMT

James.Strachan wrote:
> How many consumers do you have active? (See JMX). See these FAQ entries...

I am not the original poster, but I am having the same issue. I have tried
AMQ 5.1 and 5.2.  I am using Spring.NET with NMS (version 1.1 because it is
more thread safe). My prefetch is set to 1 but I have also tried 0 since I
am aiming for a "pull" model.

The behavior is unpredictable as far as how many messages are received by
the synchronous consumer before NULL is returned, but in almost every case
there are still messages left on the Queue.

I have turned on full logging at the broker, but I don't know quite what to
look for.  I'm not sure if NMS has any logging capability... I haven't
looked yet.

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message