Interface RabbitMQMessage


public interface RabbitMQMessage
Represent a message received message received in a rabbitmq-queue.
  • Method Details

    • 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)