You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by bansalp <bp...@gmail.com> on 2015/03/19 06:10:53 UTC
ActiveMQ and Selector
Hi,
What will happen if on a queue, there are message selector used by consumer,
and at start of queue there is some message which doesn't match selection
criteria of any of consumer.
I have observed that no message go through this queue untill message at top
is consumed/removed from queue.
Shouldn't other messages be allowed to go through?
--bansalp
--
View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-and-Selector-tp4693442.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: ActiveMQ and Selector
Posted by Tim Bain <tb...@alumni.duke.edu>.
Messages that match the selector will be able to "get past" the ones that
don't, as long as the volume of non-matching messages is smaller than the
size of the message cursor being used by the broker to read messages from
the store. Once the cursor is full of non-matching messages, no more
messages will get by.
On Mar 18, 2015 11:22 PM, "bansalp" <bp...@gmail.com> wrote:
> Hi,
>
> What will happen if on a queue, there are message selector used by
> consumer,
> and at start of queue there is some message which doesn't match selection
> criteria of any of consumer.
>
> I have observed that no message go through this queue untill message at top
> is consumed/removed from queue.
>
> Shouldn't other messages be allowed to go through?
>
> --bansalp
>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/ActiveMQ-and-Selector-tp4693442.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>