new Envelope()
- Source:
Methods
deliveryTag() → {number}
Get the delivery tag included in this parameter envelope
- Source:
Returns:
the delivery tag
- Type
- number
exchange() → {string}
Get the name of the exchange included in this parameter envelope
- Source:
Returns:
the exchange
- Type
- string
isRedelivery() → {boolean}
Get the redelivery flag included in this parameter envelope. This is a
hint as to whether this message may have been delivered before (but not
acknowledged). If the flag is not set, the message definitely has not
been delivered before. If it is set, it may have been delivered before.
- Source:
Returns:
the redelivery flag
- Type
- boolean
routingKey() → {string}
Get the routing key included in this parameter envelope
- Source:
Returns:
the routing key
- Type
- string