How and when to use forward-when-no-consumer
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.