Skip to main content
Version: 3.2

STOMP Nodes

Send messages to STOMP queues and topics from a pipeline, confirmed by the broker's receipt.

Operations
Send
Output
Destination and message size

STOMP is the text messaging protocol of ActiveMQ Classic, ActiveMQ Artemis and RabbitMQ's STOMP plugin. MaestroHub provides a Send node to send messages to STOMP destinations within your pipelines; to start a pipeline from a destination, use the STOMP Trigger.

Configuration Quick Reference​

FieldWhat you chooseDetails
ParametersConnection, Function, Function Parameters, Timeout OverrideSelect the connection profile, function, configure function parameters with expression support, and optionally override timeout.
SettingsDescription, Timeout (seconds), Retry on Timeout, Retry on Fail, On ErrorNode description, maximum execution time, retry behavior on timeout or failure, and error handling strategy. All execution settings default to pipeline-level values.
STOMP Send node configurationSTOMP Send node configuration

STOMP Send Node

STOMP Send Node​

Send one message to a queue or topic and wait for the broker's receipt.

Supported Function Types:

Function NamePurposeCommon Use Cases
SendSend a message to a destination, with optional headersLine events to an MES bus, work orders to a legacy integration queue, state changes on a topic

How It Works​

When the pipeline executes, the Send node:

  1. Checks the destination, payload and headers; a bad value fails before anything is sent
  2. Sends the message on the connection's session with a receipt header, as text (no content-length, a JMS TextMessage) or bytes, and with the header maestrohub.write-key when the write has a key
  3. Returns once the broker answers with the matching RECEIPT

A send whose receipt did not arrive may still have been stored, so it fails as transient and a retry can deliver it twice (at-least-once). A message the broker refused with an ERROR frame that says why (ActiveMQ Classic: not authorized) fails as permanent and is not retried; a refusal that gives no reason (ActiveMQ Artemis, RabbitMQ) fails as transient. See Send Function.

Configuration​

FieldWhat you chooseDetails
ConnectionSTOMP connection profileSelect a pre-configured STOMP connection
FunctionSend functionChoose a STOMP Send function that defines the destination, payload, body type and headers
Function ParametersMessage valuesValues for the function's ((parameters)), from expressions or constants
Looking for event-driven pipeline triggers?

To start a pipeline when messages arrive, use the STOMP Trigger Node.

Output​

The broker's confirmation is delivered under result; execution facts (success, functionId, durationMs, timestamp) under _metadata. STOMP Send:

ExpressionDescription
$node["Name"].result.destinationThe destination the message was sent to
$node["Name"].result.messageSizeBody size in bytes
$node["Name"]._metadata.method, $node["Name"]._metadata.connectionId, $node["Name"]._metadata.protocolThe call's own facts, on every node: the operation, the connection it ran over, stomp