Can I use the Fabric discovery protocol to connect to broker instances in different Fabric broker groups?

Solution Verified - Updated -

Environment

  • JBoss Fuse 6.x
  • Fabric8

Issue

In the Fabric documentation about a broker network with master-slave clusters the client should use the following URL : discovery:(fabric:us-east). Can we also add there "us-west" as a second cluster, something like discovery:(fabric:us-east,us-west)?

Resolution

Specifying multiple broker groups within the same Fabric discovery URL is not possible. A client broker URL like discovery:(fabric:us-east,us-west) will not work.
The current format of the fabric discovery URL can only take one broker group name and not multiple.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.