Publishing Messages

Publishing Messages

HZN Queue Console lets you publish messages directly to a queue or exchange without writing any code. This is useful for testing consumers, seeding queues with example data, or replaying a specific message.

Publishing to a Queue

  1. Open the queue you want to publish to in the Queue Browser.
  2. Click Publish message in the toolbar.
  3. Fill in the message body and any properties.
  4. Click Publish.

The message appears in the queue immediately and is delivered to any active consumers.

Message Fields

FieldDescription
BodyThe message payload. Can be plain text, JSON, XML, or any string.
Content typeMIME type of the body, e.g. application/json or text/plain.
HeadersOptional key-value pairs added to the message headers.

Schema-Assisted Publishing

If you open a message via an AsyncAPI schema channel, a dedicated publish dialog validates your JSON body against the schema in real time — errors are highlighted before you send.

Notes

  • Publishing is always to the default exchange using the queue name as the routing key.
  • Published messages are not automatically consumed — they sit in the queue until a consumer picks them up or until a TTL expires.
  • There is no undo for published messages. Purge the queue or route messages away if you want to remove them.