« Return to Thread: cannot use remote topic in composite-queue

Re: cannot use remote topic in composite-queue

by IIT Software :: Rate this Message:

Reply to Author | View in Thread

Why do you want to do that? Here is a description on what a remote static subscription is for:

In a federated router network, subscriptions are exchanged dynamically between routers. If a router starts up, it has initially no knowledge about remote subscriptions. Once another router connects to this router, subscriptions are exchanged and messages are forwarded between the routers on base of these subscriptions. To enable message forwarding for times when a router has not yet remote subscriptions (it has just being started and no other router has connected yet), static remote subscriptions can be defined.

So all you need is to DEFINE the topic at router2:

 <topics>
      <topic name="t_1"/>
 </topics>

Then you can bind it to the comp queue at router2.

 « Return to Thread: cannot use remote topic in composite-queue