You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Timothy Bish (JIRA)" <ji...@apache.org> on 2011/02/26 16:49:58 UTC

[jira] Closed: (AMQ-1920) MessageAvailableListener doesn't work with prefetchSize set to zero

     [ https://issues.apache.org/jira/browse/AMQ-1920?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timothy Bish closed AMQ-1920.
-----------------------------

    Resolution: Not A Problem

> MessageAvailableListener doesn't work with prefetchSize set to zero
> -------------------------------------------------------------------
>
>                 Key: AMQ-1920
>                 URL: https://issues.apache.org/jira/browse/AMQ-1920
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 4.1.1, 5.1.0
>         Environment: Broker running ActiveMQ 4.1.1
> Client/Consumer tested with AMQ 4.1.1 and 5.1.0
>            Reporter: Sebastian Riedel
>            Priority: Minor
>             Fix For: NEEDS_REVIEWED
>
>
> 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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira