Class RabbitMQMessage

java.lang.Object
io.vertx.mutiny.rabbitmq.RabbitMQMessage
All Implemented Interfaces:
MutinyDelegate

public class RabbitMQMessage extends Object implements MutinyDelegate
Represent a message received message received in a rabbitmq-queue.

NOTE: This class has been automatically generated from the original non Mutiny-ified interface.

See Also:
  • RabbitMQMessage
  • Field Details

  • Constructor Details

    • RabbitMQMessage

      public RabbitMQMessage(io.vertx.rabbitmq.RabbitMQMessage delegate)
      Create a new instance of RabbitMQMessage delegating to the given (non-null) instance of RabbitMQMessage.
    • RabbitMQMessage

      public RabbitMQMessage(Object delegate)
  • Method Details

    • getDelegate

      public io.vertx.rabbitmq.RabbitMQMessage getDelegate()
      Get the delegate instance.

      This method returns the instance on which this shim is delegating the calls. And so, give you access to the bare API.

      Specified by:
      getDelegate in interface MutinyDelegate
      Returns:
      the delegate instance
    • body

      public io.vertx.core.buffer.Buffer body()
      Returns:
      the message body
    • consumerTag

      public String consumerTag()
      Returns:
      the consumer tag associated with the consumer
    • envelope

      public com.rabbitmq.client.Envelope envelope()
      Returns:
      packaging data for the message
    • properties

      public com.rabbitmq.client.BasicProperties properties()
      Returns:
      content header data for the message
    • messageCount

      public Integer messageCount()
      Returns:
      the message count for messages obtained with RabbitMQClient.basicGet(String, boolean)
    • newInstance

      public static RabbitMQMessage newInstance(io.vertx.rabbitmq.RabbitMQMessage delegate)
      Creates a new instance of the RabbitMQMessage.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object