activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <>
Subject Re: Embedded Brokers discovery
Date Wed, 29 Mar 2006 16:45:39 GMT
On 3/29/06, kitplummer <> wrote:
> Making a newbie assumption that to add zeroconf registration all I need to do
> is add discovery to the front of the URI.
> But.  Here's the output I get:

The code Jonas provided should work fine...

       BrokerService broker = new BrokerService();
       TransportConnector connector = broker.addConnector(new
       connector.setDiscoveryUri(new URI("multicast://default"));

In this case, you want to create a TCP server side transport and add a
discovery mechanism to it. Adding discovery to the front of a URI is
purely used on the client side.



View raw message