# JMS tools by Workato - Publish message to topic action

The Publish message to topic action creates a new message in a topic you specify.

PREREQUISITES

You must define the topic name, message format, and message schema in a common data model before you can use this action.

Additionally, some input fields are only available in OPA version 30 or higher.

# Input

Input field Description
Topic name Enter the name of the topic to create a message in. This must exactly match the topic name defined in your common data model.
Delivery Mode Optional. Select the delivery mode for the message.
Requires OPA version 30 or higher.
Priority Optional. Enter the message priority as an integer between 0 and 9. A higher value number represents a higher priority.
Requires OPA version 30 or higher.
Delivery delay Optional. Enter the number of milliseconds to delay the message before delivery.
Requires OPA version 30 or higher.
Time to live Optional. Enter the lifetime of the message in milliseconds. Enter 0 or leave this field blank to set messages to never expire.
Requires OPA version 30 or higher.
Correlation ID Optional. Enter the identifier for tracking related messages.
Requires OPA version 30 or higher.
Type (ReplyTo) Optional. Select the type of destination to send replies to.
Requires OPA version 30 or higher.
Name (ReplyTo) Optional. Enter the name of the destination to send replies to.
Requires OPA version 30 or higher.
Type Optional. Enter the classification of the message.
Requires OPA version 30 or higher.
Properties Optional. Define custom properties to include in the message schema.
Requires OPA version 30 or higher.
Message Define the message payload. Messages have a maximum size of 30 MB.

# Output

The output of this action varies based on the message schema.


Last updated: 1/20/2026, 3:41:08 PM

On this page