Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8829299
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T07:48:11+00:00 2026-06-14T07:48:11+00:00

Activemq.xml has Following configuration using discover Agent <transportConnector name=openwire uri=tcp://localhost:61616 discoveryUri=multicast://default?group=TestPartition/> I am using

  • 0

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 and get the below error

 error: Error: connect ECONNREFUSED
    at errnoException (net.js:769:11)
    at Object.afterConnect [as oncomplete] (net.js:760:19)error name: Error

events.js:71
    throw arguments[1]; // Unhandled 'error' event
               ^
Error: connect ECONNREFUSED
    at errnoException (net.js:769:11)
    at Object.afterConnect [as oncomplete] (net.js:760:19)

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);
       });
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T07:48:12+00:00Added an answer on June 14, 2026 at 7:48 am

    You are attempting to connect a STOMP client to an Openwire transport connector which of course won’t work as they are two different protocols. You need to configure a STOMP transport connector for your STOMP clients to connect to.

     <transportConnector name="stomp" uri="stomp://localhost:61613"/>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using ActiveMq 5.32 with Spring 2.5.5. I use pretty generic configuration, as
I want to create embedded ActiveMQ broker using xbean configuration inside OSGi bundle running
I'm sending a XML content to ActiveMQ from ruby script using stomp I'm explicitly
greetings all I am using the JMS with the following configuration to send messages
By now, I implement the authentication of apache activemq through the configuration file (activemq.xml)
In ActiveMQ I am using a static TCP connection to connect to another broker.
I'm using ActiveMQ 5.x, and I'd like to pull out some of the stuff
I have a message listener (using ActiveMQ) that implements SessionAwareMessageListener. When the onMessage(Message,Session) method
On JBoss 5.1.0 I have Datasource (PostgreSQL 8.3.11) configured using *-ds.xml (standard jboss DS).
I've set up a queue by configuring it in activemq.xml (ActiveMQ version 5.2.0) as

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.