My 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);*
* });*