On 3/29/06, kitplummer <[EMAIL PROTECTED]> 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();
       broker..setUseJmx(false);
       broker.setPersistent(false);
       TransportConnector connector = broker.addConnector(new
URI("tcp://localthost:61616"));
       connector.setDiscoveryUri(new URI("multicast://default"));
       broker.start();


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.

--

James
-------
http://radio.weblogs.com/0112098/

Reply via email to