new RabbitMQMessage()
Represent a message received message received in a rabbitmq-queue.
Methods
body() → {Buffer}
Returns:
the message body
- Type
- Buffer
consumerTag() → {string}
Returns:
the consumer tag associated with the consumer
- Type
- string
envelope() → {Envelope}
Returns:
packaging data for the message
- Type
- Envelope
properties() → {BasicProperties}
Returns:
content header data for the message
- Type
- BasicProperties