AMQP · Schema

AMQP Message Properties

Schema describing the standard AMQP 0-9-1 message properties (Basic.Properties). These properties are defined in the AMQP specification and provide metadata about the message content, delivery, and routing.

AMQPAsynchronousMessage QueueMessagingMiddlewareOpen StandardPublish Subscribe

Properties

Name Type Description
contentType string MIME content type of the message body (e.g., application/json, text/plain).
contentEncoding string MIME content encoding of the message body (e.g., utf-8, gzip).
headers object Application-specific message headers as an AMQP field table.
deliveryMode integer Message delivery mode. 1 = non-persistent (may be lost on broker restart), 2 = persistent (written to disk).
priority integer Message priority level from 0 (lowest) to 9 (highest).
correlationId string Application-defined correlation identifier, typically used to correlate RPC responses with requests.
replyTo string Name of the queue to which replies should be sent, used in the request/reply messaging pattern.
expiration string Message expiration (TTL) as a string representing milliseconds. The message will be discarded after this duration.
messageId string Application-defined unique message identifier.
timestamp integer Message timestamp as a UNIX epoch timestamp (seconds since 1970-01-01T00:00:00Z).
type string Application-defined message type name, used to describe the kind of message.
userId string The user ID of the authenticated user who published the message. Validated by the broker against the connection credentials.
appId string Application identifier of the publishing application.
clusterId string Cluster identifier for use by clustering applications. Deprecated in AMQP 0-9-1.
View JSON Schema on GitHub