Class MessageBatch

java.lang.Object
org.springframework.amqp.rabbit.batch.MessageBatch

public class MessageBatch extends Object
An object encapsulating a Message containing the batch of messages, the exchange, and routing key.
Since:
1.4.1
Author:
Gary Russell
  • Constructor Details

  • Method Details

    • getExchange

      public String getExchange()
      Returns:
      the exchange
    • getRoutingKey

      public String getRoutingKey()
      Returns:
      the routingKey
    • getMessage

      public Message getMessage()
      Returns:
      the message