Package io.vertx.rabbitmq
Interface RabbitMQMessage
-
public interface RabbitMQMessage
Represent a message received message received in a rabbitmq-queue.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Buffer
body()
String
consumerTag()
com.rabbitmq.client.Envelope
envelope()
Integer
messageCount()
com.rabbitmq.client.BasicProperties
properties()
-
-
-
Method Detail
-
body
Buffer body()
- Returns:
- the message body
-
consumerTag
String consumerTag()
- Returns:
- the consumer tag associated with the consumer
-
envelope
com.rabbitmq.client.Envelope envelope()
- Returns:
- packaging data for the message
-
properties
com.rabbitmq.client.BasicProperties properties()
- Returns:
- content header data for the message
-
messageCount
Integer messageCount()
- Returns:
- the message count for messages obtained with
RabbitMQClient.basicGet(String, boolean)
-
-