Class MessageBatch


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

      Constructors 
      Constructor Description
      MessageBatch​(java.lang.String exchange, java.lang.String routingKey, Message message)  
    • Constructor Detail

      • MessageBatch

        public MessageBatch​(java.lang.String exchange,
                            java.lang.String routingKey,
                            Message message)
    • Method Detail

      • getExchange

        public java.lang.String getExchange()
        Returns:
        the exchange
      • getRoutingKey

        public java.lang.String getRoutingKey()
        Returns:
        the routingKey
      • getMessage

        public Message getMessage()
        Returns:
        the message