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, 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