hello guys

i have a problem at hand and a solution in mind however i would like to share my thoughts and get some feedback, i would appreciate it very much if you can share your thoughts.


I have three instances of a message bus (a messaging queue) in different parts of the world consuming messages. Messages are forwarded to these instances by a load balancer. Now currently all three instances are independent and do not communicate with one another.
The problem arises when instance A of the messaging bus is expecting new messages, however they are forwarded to instance B. Instance A needs to simply know that the messages were forwarded to instance B instead of A so that it can change its behaviour accordingly.

What would be the best approach to accomplish this? I am not looking for technologies specifically just ideas and thoughts on how this can be accomplished

many thanks