Messages unexpected push to remote brokers for selector filtered messages

Solution Verified - Updated -

Issue

  • I have an AMQ environment with a network of brokers configured. My messages are sent to local brokers with selector: SYMBOL='A'. When the messages are received by local brokers, it is automatically being pushed to remote brokers. But there are no consumers expected to consume these messages out there (as all remote consumers are to consume messages with a different selector). Because of the unexpected movement of messages, local consumers do not have the chance to consume the matched messages.
  • How should I avoid the messages expected to be consumed by local consumers being pushed to remote brokers?
  • In the meanwhile, when the matching consumers (with same selectors) exist at both local and remote side, how should I still be able to let remote brokers consume these messages to achieve load balancing?

Environment

  • Red Hat AMQ
    • 6.3

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In