OptionalappOptionalconsumerconsumerTag of the consumer the message originates from
OptionalcontentOptionalcontentOptionalcorrelationUsed for RPC system to match messages to their replies
Message contents
Unparsed message data
Amount of attempts the broker has done to deliver the message. undefined on first attempt
OptionaldeliveryEither 1 for non-persistent or 2 for persistent
deliveryTag of the message (used to identify the message between consumer and broker)
OptionalexchangeName of the exchange the message originates from
OptionalexpirationIf supplied, the message will be discarded from a queue once it's been there longer than the given number of milliseconds
Headers of the message
OptionalmessageArbitrary application-specific identifier for the message
OptionalpriorityPriority of a message. See priority queues
Name of the queue this message was consumed from
True if the message has been sent to a consumer at least once
OptionalreplyQueue name to reply to for RPC
OptionalroutingRoutingkey. If routingkey was not set then this equals to the name of the queue
OptionalstreamStream offset of the message. Only available for streams
OptionaltimestampA timestamp for the message. Rounded to the nearest second when provided
OptionaltypeAn arbitrary application-specific type for the message
OptionaluserIf supplied, RabbitMQ will compare it to the username supplied when opening the connection, and reject messages for which it does not match
Mark the message as done, removes it from the queue
Return the specified header
header to return
Returns true if the message has been acked
Returns true if message has been acked/nacked
Returns true if the message has been nacked
Nack the message. If requeue is false (defaults to true) then the message will be discarded. Otherwise it will be returned to the front of the queue
Optionalrequeue: boolean
An arbitrary identifier for the originating application