Optional
appOptional
consumerconsumerTag of the consumer the message originates from
Optional
contentOptional
contentOptional
correlationUsed for RPC system to match messages to their replies
Message contents
Unparsed message data
Optional
deliveryAmount of attempts the broker has done to deliver the message
Optional
deliveryEither 1 for non-persistent or 2 for persistent
deliveryTag of the message (used to identify the message between consumer and broker)
Optional
exchangeName of the exchange the message originates from
Optional
expirationIf 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
Optional
messageArbitrary application-specific identifier for the message
Optional
priorityPriority of a message. See priority queues
Name of the queue this message was consumed from
Raw message from amqplib
True if the message has been sent to a consumer at least once
Optional
replyQueue name to reply to for RPC
Optional
routingRoutingkey. If routingkey was not set then this equals to the name of the queue
Optional
timestampA timestamp for the message
Optional
typeAn arbitrary application-specific type for the message
Optional
userIf supplied, RabbitMQ will compare it to the username supplied when opening the connection, and reject messages for which it does not match
Reply to the message. Only works if the message has a replyTo and correlationId have been set on the message. If autoReply has been set on the chain, then You can just return a non-undefined value from the subscribe callback
Generated using TypeDoc
An arbitrary identifier for the originating application