MessageAvailableListener doesn't work with prefetchSize set to zero
-------------------------------------------------------------------
Key: AMQ-1920
URL: https://issues.apache.org/activemq/browse/AMQ-1920
Project: ActiveMQ
Issue Type: Bug
Affects Versions: 5.1.0, 4.1.1
Environment: Broker running ActiveMQ 4.1.1
Client/Consumer tested with AMQ 4.1.1 and 5.1.0
Reporter: Sebastian Riedel
Priority: Critical
Fix For: 5.1.0, 4.1.1
The MessageAvailableListener doesn't trigger his event, when prefetchSize is
set to zero, although messages are in queue (but because of prefetchSize = zero
not dispatched). I understand why the complete asynchronous MessageListener is
not allowed to be used with prefetchSize of zero, but in my opinion the
AvailableListener should work.
Since there is no other possibilty to check for the availability of a new
message ( the Queuebrowser is for this aim to slow, because it produces massive
traffic) this is a critical issue in my case, also because i can't use JMX to
determine e.g. the QueueSize to trigger a MessageAvailableEvent myself.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.