Only one consumer gets the message when consuming from a Topic with selectors

Solution Verified - Updated -

Issue

  • Only one consumer is consuming messages from a destination when using selectors.
    For example, imagine these 2 Camel consumers:
1. activemq:queue:TOPIC_1?selector=name='foo'
2. activemq:queue:TOPIC_1?selector=name='bar'

Both consumers consumes message from the TOPIC_1, where only difference is the selector. In this case only the first consumer application that connects to the broker will consume messages.

Environment

  • Red Hat AMQ 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content