The broker halts message delivery to selector based queue consumers when
messages outside the scope of the selector accrue.

Use Case:

A queue being consumed by two selector based consumers.  One looking for
JMSType = 'odd', and one looking for 'even'.

Drive the queue with both types of messages.

Remove the 'even' consumer.

Expected: 'odd' messages continue to be consumed, while 'even' messages
accrue in the queue

Actual: 'odd' message delivery stops once the 'even' messages queue depth
approaches 1000

Additional Observations: once the 'even' consumer re-attaches, delivery to
the 'odd' consumer restarts.

Test Environment: 5.1, 5.2.0 (Linux)

Attachment: ActiveMQ junit test case which demonstrates success with
non-selector based consumers (NonDiscriminatingConsumer), and failure with
selector based consumers (DiscriminatingConsumer).

http://www.nabble.com/file/p20939503/DiscriminatingConsumerLoadTest.java
DiscriminatingConsumerLoadTest.java 

-- 
View this message in context: 
http://www.nabble.com/Broker-Halts-Message-Delivery-to-Selector-Based-Queue-Consumers-tp20939503p20939503.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to