Skip to main content

ActiveMQ Connection

The ActiveMQ connection type enables automations to send and receive messages through an Apache ActiveMQ broker using the JMS, AMQP, or STOMP protocols. It supports both on-premises ActiveMQ Classic deployments and ActiveMQ Artemis.

Connection Details

PropertyValue
Type IDACTIVEMQ
CategoryMessaging and Event Systems
TestableYes

Friendly Example

What you enterExample
Connection nameActiveMQ - Order Processing
Used forPublishing new order events to a queue and consuming fulfilment confirmations
Main details to collectBroker URL, username, and password
Best person to provide itMessaging or platform administrator

After it is saved, workflow builders select ActiveMQ - Order Processing in a node instead of entering these details again.

Mandatory Fields

FieldWhat It MeansExample
brokerUrlFull URL of the ActiveMQ broker, including the protocol, host, and port. See the protocol reference below for supported formats.tcp://activemq.internal:61616
usernameUsername the automation authenticates with on the broker.automation-user
passwordPassword for the broker user. Encrypted at rest.(your password)
Broker URL protocol formats

ActiveMQ supports multiple wire protocols. Choose the one your broker is configured to accept:

ProtocolDefault PortBroker URL Format
OpenWire (default)61616tcp://host:61616
AMQP 1.05672amqp://host:5672
STOMP61613stomp://host:61613

OpenWire is the native ActiveMQ protocol and offers the broadest feature support. Use AMQP when interoperability with other brokers is required.

Advanced Fields

FieldWhat It MeansExample
connectionTimeoutTime in milliseconds to wait for the broker connection to be established before the attempt fails.10000
maxReconnectAttemptsNumber of times the client will try to reconnect after a dropped connection before raising an error. Set to -1 for unlimited retries.5
sslSet to true to enable TLS encryption. Use the ssl:// scheme in the broker URL and confirm the broker is configured for TLS.false
Using TLS

When ssl is enabled, prefix the broker URL with ssl:// instead of tcp:// and use the TLS port (typically 61617 for OpenWire over TLS):

ssl://activemq.internal:61617

Confirm with your administrator that the broker certificate is signed by a trusted CA or has been added to the platform's trust store.

Setup Instructions

  1. Locate the broker URL from your ActiveMQ configuration file (activemq.xml). Look for the <transportConnectors> section — each <transportConnector> entry shows the protocol and port the broker is listening on.

  2. Identify or create the broker user. The default ActiveMQ installation ships with the credentials admin / admin. Do not use these in production. Create a dedicated user:

    • In the ActiveMQ Web Console (typically http://broker-host:8161/admin), navigate to Manage ActiveMQ broker → Users and add a new user.
    • Or, for file-based authentication, add the user to conf/credentials.properties and grant the appropriate permissions in conf/login.config.
  3. Confirm broker reachability from the platform host. Verify that the relevant port (e.g., 61616) is open in any firewalls between the platform and the broker.

  4. Choose the correct protocol for your automation. Use tcp:// (OpenWire) unless your environment requires AMQP or STOMP interoperability.

  5. Create the connection in the Global Configurator. Enter the broker URL, username, and password, then test the connection to confirm successful authentication.

Change default credentials before production use

The default admin / admin credentials are publicly known and grant full broker access. Always create a dedicated user with the minimum permissions required by the automation before deploying to a production environment.

Troubleshooting

SymptomLikely Cause
Connection refused on the broker portThe broker is not running, the port is wrong, or a firewall is blocking the connection — verify the broker URL and confirm the port is reachable
Failed to authenticate or SecurityExceptionThe username or password is incorrect, or the user does not exist in the broker's credential store
Connection test times outThe connectionTimeout is too low for the network latency, or the broker host is unreachable — increase the timeout or check network routing
SSL handshake failedTLS is enabled in the connection but the broker is not configured for SSL, or the broker certificate is not trusted by the platform — verify the broker URL scheme and certificate chain