You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by jasonyangshadow <xy...@yangxu.me> on 2014/03/03 07:13:52 UTC
activemq multi-listener's calling order
for example:
i have a queue named:Queues.Test
and i can add two listeners:
one is : Queues.Test
the other is : Queues.>
the second one is wildcards type of amq
so when there is a message coming to the Queues.Test
which listener is called?
i have tested the situation, and found that it called the listener randomly.
i thought that the first one will always be called for it is wholely matched
the name?
--
View this message in context: http://activemq.2283324.n4.nabble.com/activemq-multi-listener-s-calling-order-tp4678447.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: activemq multi-listener's calling order
Posted by artnaseef <ar...@artnaseef.com>.
It is working as-designed.
Sent from my iPhone
> On Mar 2, 2014, at 11:14 PM, "jasonyangshadow [via ActiveMQ]" <ml...@n4.nabble.com> wrote:
>
> for example:
> i have a queue named:Queues.Test
> and i can add two listeners:
> one is : Queues.Test
> the other is : Queues.>
> the second one is wildcards type of amq
>
> so when there is a message coming to the Queues.Test
> which listener is called?
>
> i have tested the situation, and found that it called the listener randomly.
> i thought that the first one will always be called for it is wholely matched the name?
>
> If you reply to this email, your message will be added to the discussion below:
> http://activemq.2283324.n4.nabble.com/activemq-multi-listener-s-calling-order-tp4678447.html
> To start a new topic under ActiveMQ - User, email ml-node+s2283324n2341805h3@n4.nabble.com
> To unsubscribe from ActiveMQ - User, click here.
> NAML
--
View this message in context: http://activemq.2283324.n4.nabble.com/activemq-multi-listener-s-calling-order-tp4678447p4678448.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.