The ZeroConf TransportThe ZeroConf transport works just like Discovery Transport, except that it uses a ZeroConf based discovery agent to locate the list of broker uris to connect to. Configuration Syntaxzeroconf:serviceName?transportOptions where serviceName is the Zeroconf service name; which seems to start with an underscore (_) and must end with a dot (.). So we can use this service name to distinguish development, UAT & production brokers - or group them into domains etc. Note that to be able to use ZeroConf to find brokers, the brokers need to have Discovery enabled. To configure discovery in a Broker you should use the Xml Configuration. Here is an example <broker name="foo"> <connector> <tcpServerTransport uri="tcp://localhost:62002"/> </connector> <discoveryAgent> <zeroconfDiscovery type="_activemq.broker.development."/> </discoveryAgent> ... </broker> Example URIzeroconf:_activemq_development. |