activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Tully <gary.tu...@gmail.com>
Subject Re: Can a process detect that it is the exclusive consumer?
Date Fri, 29 Oct 2010 08:10:56 GMT
The selectors are irrelevant, an exclusive consumers will starve all
other consumers. The only consumers that can get in ahead of it are
other exclusive consumers with higher priority.

On 29 October 2010 08:46, ChrisB <chris_bowles@hargreaveslansdown.co.uk> wrote:
>
> Furthermore, and I realise this is probably not particularly good etiquette,
> but I have another question:
>
> How does exclusive consumer usage affect selectors?
>
> I have a central "bus" within my application architecture, represented by a
> single queue. Different nodes with different purposes (who all use a common
> messaging universe) sit on this queue, listening for messages which are
> relevant to them - using selectors.
>
> If one of these nodes connects with "consumer.exclusive=true" and a selector
> of "messageType='foo'" will that prevent another node who does not connect
> with the consumer.exclusive option, and who has a selector of
> "messageType='bar'" from receiving messages?
>
> Thanks again :)
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/Can-a-process-detect-that-it-is-the-exclusive-consumer-tp3018587p3018601.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>



-- 
http://blog.garytully.com
http://fusesource.com

Mime
View raw message