Need help on messages getting stuck due to message selector

2010-10-26 Thread dayanand

Hi, 

 I am facing an issue regarding some messages get stuck in the queue. 
The background of the issue is. 

  1. We have 2 consumers configured to listen to the same queue. 
  2. One consumer has a message selector criteria set while the other
doesn't. 
  3. When the messages are pushed into the queue, they basically get shared
between the consumers. 
  4. The consumer which doesn't have the criteria processes the messages
assigned to it without any issue. 
  5. But the consumer that has the selection criteria doesn't process the
messages assigned to it due to the message selector condition. 

Now my question is why the messages ignored by the second consumer (with
message selector) don't get reassigned to the first consumer(without
selector). 
  
Could anyone help me in identifying the reason for it?  
-- 
View this message in context: 
http://activemq.2283324.n4.nabble.com/Need-help-on-messages-getting-stuck-due-to-message-selector-tp3013173p3013173.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.


Re: Message Selector issue in multi consumers setup

2010-10-25 Thread dayanand

Hi, 

 I am facing an issue regarding some messages get stuck in the queue. 
The background of the issue is. 

  1. We have 2 consumers configured to listen to the same queue. 
  2. One consumer has a message selector criteria set while the other
doesn't. 
  3. When the messages are pushed into the queue, they basically get shared
between the consumers. 
  4. The consumer which doesn't have the criteria processes the messages
assigned to it without any issue. 
  5. But the consumer that has the selection criteria doesn't process the
messages assigned to it due to the message selector condition. 

Now my question is why the messages ignored by the second consumer (with
message selector) don't get reassigned to the first consumer(without
selector). 
  
Could anyone help me in identifying the reason for it?  
-- 
View this message in context: 
http://activemq.2283324.n4.nabble.com/Message-Selector-issue-in-multi-consumers-setup-tp3010121p3010201.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.