How and when to use forward-when-no-consumer

Solution Unverified - Updated -

Issue

  • In a clustered environment when the messages are load-balanced between the two queues if one of the queue then does not have any consumer, all the messages of this queue are forwarded to the other queue having a consumer in the cluster.

  • Suppose my producer sends a message that arrives to node C. My consumer registered and the TransportConfiguration used when it was created happened to be node E. How does the message get to my consumer?

  • What can be done to prevent message delivery to a node with no consumer?

Environment

  • Red Hat Jboss Enterprise Application Platform (EAP)
    • 6.x

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
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.