The Discovery TransportThe Discovery transport works just like the Failover transport, except that it uses a discovery agent to locate the list of uri to connect to. The Discovery transport is also used by the Fanout transport for discovering brokers to send a fanout message to. Configuration Syntaxdiscovery:(discoveryAgentURI)?transportOptions Note that to be able to use Discovery to find brokers, the brokers need to have the multicast discovery agent enabled on the broker. To configure discovery in a Broker you should use the Xml Configuration. Here is an example of using discovery. Its basically something like the following (see the discoveryUri) <broker name="foo"> <transportConnectors> <transportConnector uri="tcp://localhost:0" discoveryUri="multicast://default"/> </transportConnectors> ... </broker> Transport Options
Example URIdiscovery:(multicast://default)?initialReconnectDelay=100 Applying parameters to discovered transports From 5.4, transport parameters in the URI will also be applied to discovered transports if they are prefixed with |