The Discovery TransportThe Discovery transport works just like the reliable transport, except that it uses a discovery agent to locate the list of uri to connect 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 |