Just comment out this multicast network connector. 

<networkConnector name="default-nc" uri="multicast://default"/>

Since you have a single broker configuration, you shouldn't have any network
connectors in the broker's XML cfg file. 

However, you will need a transport connector to allow clients to connect to
your broker. If you intend to have clients autodiscover your broker, the
transport connector element should have a discoveryUri attribute as
follows... 

<transportConnector name="openwire" uri="tcp://localhost:61616"
discoveryUri="multicast://default"/>

...else take out the discoveryUri attribute. 

Joe
Free ActiveMQ user guide at http://www.ttmsolutions.com




Ben Amitai wrote:
> 
> Hello,
> My application has one and only broker. I don't need the broker to
> discover other brokers.
> Is there a way to disable the discoverying entirly?
> 
> Thanks
> Udi
> 

-- 
View this message in context: 
http://www.nabble.com/Disable-multicast-discovery-tp21132232p21132399.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to