Package io.vertx.rabbitmq
Interface RabbitMQMessage
-
public interface RabbitMQMessageRepresent a message received message received in a rabbitmq-queue.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Bufferbody()StringconsumerTag()com.rabbitmq.client.Envelopeenvelope()IntegermessageCount()com.rabbitmq.client.BasicPropertiesproperties()
-
-
-
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)
-
-