Class DirectReplyToMessageListenerContainer.ChannelHolder

java.lang.Object
org.springframework.amqp.rabbit.listener.DirectReplyToMessageListenerContainer.ChannelHolder
Enclosing class:
DirectReplyToMessageListenerContainer

public static class DirectReplyToMessageListenerContainer.ChannelHolder extends Object
Holder for a channel; contains a consumer epoch used to prevent inappropriate release of the consumer after it has been allocated for reuse.
  • Method Details

    • getChannel

      public com.rabbitmq.client.Channel getChannel()
    • getConsumerEpoch

      public int getConsumerEpoch()
    • toString

      public String toString()
      Overrides:
      toString in class Object