LibraryToggle FramesPrintFeedback

The multicast discovery agent uses the IP multicast protocol to find any message brokers currently active on the local network. In order for the protocol to work, a multicast discovery agent must be enabled on each broker you want to advertise and messaging clients must be configured to use a discovery URI.

The URI for a multicast discovery agent must conform to the following syntax:

multicast://Address:Port?TransportOptions

The following transport options are supported:


All participants in the same discovery network must use the same group ID. To specify the IP adress, port number, and group ID explicitly, you can specify a URI like the following:

multicast://224.1.2.3:6255?group=mygroupname

For easy configuration, you could use the special default multicast URI, as follows:

multicast://default

This default URI is equivalent to the URI, multicast://239.255.2.3:6155?group=default.

[Note]Note

Your local network (LAN) must be configured appropriately for the IP/multicast protocol to work. If your clients fail to discover a broker using the multicast protocol, this could be because IP/multicast is not set up on your network.

The rendezvous discovery agent is derived from Apple’s Bonjour Networking technology, which defines the rendezvous protocol as a mechanism for discovering services on a network. To enable the protocol, a multicast discovery agent must be configured on each broker you want to advertise and messaging clients must be configured to use a discovery URI.

The URI for a rendezvous discovery agent must conform to the following syntax:

rendezvous://GroupID

Where the GroupID is an alphanumeric identifier. All participants in the same discovery network must use the same GroupID.

For example, to use a rendezvous discovery agent on the client side, where the client needs to connect to the groupA group, you would construct a discovery URL like the following:

discovery://(rendezvous://groupA)
[Note]Note

Your local network (LAN) must be configured appropriately for the IP/multicast protocol to work. If your clients fail to discover a broker using the rendezvous protocol, this could be because IP/multicast is not set up on your network.

Comments powered by Disqus