My broker.xml(Activemq.xml has Following configuration using discover Agent)
      <transportConnector name="openwire" uri="tcp://localhost:61616" 
discoveryUri="multicast://default?group=TestPartition"/>

 I am using stomp module of node.js. Now i need to make the connection to 
my active mq broker. Not getting how to make the connection
 using configured discover agent. Earlier  i was using below 
configuarion(no group was mentioned)
 and was able to make the connection successfully

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

 Code i was using to make the connection 

var stomp = require("stomp");
var  stompClient = new stomp.Stomp("localhost", 8161);
var destHeaders = {
    destination: '/topic/testTopic',
    ack: 'acknowledgeResp'

};
client.connect();
client.on('connected', function() {
client.subscribe(destHeaders);
           });

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to