Same as .carbonCopy but the value will not be sent in message headers to consumers
Rest
...BCC: string[]Route the message to provided routing keys in addition to the main one
Rest
...CC: string[]Set a MIME encoding for the message content
Set a MIME type for the message content
Set a correlation id for the message (useful for an RPC scenario)
Set 'x-delay' header to delay a message in delayed exchanges
Set the expiration time in milliseconds. The message will be discarded after it's been in the queue for longer than that
Set content-type header to application/json. If content is provided it will be stringified and set as content
Optional
data: TCustomMessageMandatory messages will be returned to sender if they're not routed Haredo doesn't implement basic.return yet so this will not do anything
Optional
mandatory: booleanArbitrary application-specific identifier for the message
persistent messages survive broker restarts provided it's in a queue that also survives restarts
Optional
persistent: booleanA priority for the message. Only works with priority queues
Set string content of the message
Often used to name a queue to which the receiving application must send replies in an RPC scenario
Set routing key do determine how this message will be routed
Set a specific message header
Set message headers
A timestamp for the message
An arbitrary application-specific type for the message
If supplied, RabbitMQ will compare it to the username supplied when opening the connection and reject messages for which it does not match
Generated using TypeDoc
Set an arbitrary identifier for the originating application