The Fuse Message Broker will not accept any remote connections.

Solution Unverified - Updated -

Environment

  • Fuse Message Broker v5.3 and later

Issue

The Fuse Message Broker will not accept any remote connections.

Resolution

To configure the broker to listen on all network interfaces edit broker/conf/activemq.xml and
use a URL like tcp://0.0.0.0:61616, for example:

 <transportConnectors>
      <transportConnector name="openwire" uri="tcp://0.0.0.0:61616"/>
 </transportConnectors>

Root Cause

From version Fuse Message Broker v5.3, the OpenWire URL not only controls what port the broker will listen on but what network interface will be used, i.e. the default URL of tcp://localhost:61616 configures the broker to bind it's listen port to only the loopback network interface, connections arriving on any other network interface will be rejected.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments