activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Milo Xu <>
Subject Multicast Discovery with non-default group name not working
Date Thu, 03 Jul 2014 07:34:33 GMT
Hi all,

I am using .Net version api (NMS) to discover a broker, the discoveryUrl in
transportConnector of activemq.xml is "multicast://". And I
used the same url in client code and it works.

However, if i want to change to non-default group like
"multicast://", I can capture UDP package from
network and ActiveMq is broadcasting right info, some info from UDP package: 

My client code is changed to like this:

using Apache.NMS;
using Apache.NMS.Util;

var brokerUrl =
var connectionFactory = new NMSConnectionFactory(brokerUrl);
var connection = connectionFactory.CreateConnection();
var session = connection.CreateSession();  <== Execution hangs here!

My application hangs on the last line. If using the default group name
(without setting '?group=hello'), it works fine. My environment is
 1. ActiveMq server : 5.10.0
 2. Apache.NMS.ActiveMQ.dll: 1.6.2
 3. Apache.NMS.dll: 1.6.0
 4. Code is compiled in VS2013, against .Net 4 framework.

Has anyone encourntered same issue?

Thanks in advance.


View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message