I am trying to create a core bridge between two different clusters. Lets call them cluster A and B.
I want the bridge to be able to discover the nodes in B automatically and not have a hard-coded list of server addresses for example.
I am trying to use a discovery group.
<discovery-groups>
<discovery-group name="dg-x-group1">
<socket-binding>messaging-group</socket-binding>
<refresh-timeout>10000</refresh-timeout>
</discovery-group>
| <bridges> | ||||||||
| <bridge name="the-bridge"> | ||||||||
| <queue-name>jms.queue.QueueX</queue-name> | ||||||||
| <forwarding-address>jms.queue.QueueX</forwarding-address> | ||||||||
| <discovery-group-ref discovery-group-name="dg-x-group1"/> | ||||||||
| </bridge> | ||||||||
| </bridges> |
Is this possible?
I am having trouble getting it to connect to the remote cluster, i've managed to cause a loop and bridge to cluster A again.
what steps do I need to take to get a queue defined on cluster A bridged to a queue defined on cluster B?
I appreciate any help.
Thanks