activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Bish (JIRA)" <j...@apache.org>
Subject [jira] Closed: (AMQ-1920) MessageAvailableListener doesn't work with prefetchSize set to zero
Date Sat, 26 Feb 2011 15:49:58 GMT

     [ 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

        

Mime
View raw message