package io.vertx.rabbitmq;

import io.vertx.codegen.annotations.CacheReturn;
import io.vertx.codegen.annotations.VertxGen;
import io.vertx.core.buffer.Buffer;

Represent a message received message received in a rabbitmq-queue.
/** * Represent a message received message received in a rabbitmq-queue. */
@VertxGen public interface RabbitMQMessage {
Returns:the message body
/** * @return the message body */
@CacheReturn Buffer body();
Returns:the consumer tag associated with the consumer
/** * @return the <i>consumer tag</i> associated with the consumer */
@CacheReturn String consumerTag();
Returns:packaging data for the message
/** * @return packaging data for the message */
@CacheReturn Envelope envelope();
Returns:content header data for the message
/** * @return content header data for the message */
@CacheReturn BasicProperties properties(); }