I have a headache problem with routing publish message between two broker like image below.
How to send message to user B without information about his topic subscribe?
I mean that:
Step 1: I config broker A is bridge broker with broker B
Step 2: User A publish message on topic #
to broker A. That's mean broker B will receive message and both of User A and user C will receive this message.
If I only want User C receive message, in STEP 2 I must publish message on exactly topic User B are subscribing. For example:
User A publishes message on topic /home/userB
on Broker 1 and User B subscribes topic /home/userB
on Broker 2.
And here is my trouble, in practice, Broker 1 represents Organization 1 and Broker 2 represents Organization 2.
User A under Organization 1 can't have information about topic that user B (under Organization 2) subscribe .
Please help me.