Class RetryContext

java.lang.Object
com.rabbitmq.client.impl.recovery.RetryContext

public class RetryContext extends Object
The context of a topology recovery retry operation.
Since:
5.4.0
  • Constructor Details

  • Method Details

    • connection

      public AutorecoveringConnection connection()
      The underlying connection.
      Returns:
    • exception

      public Exception exception()
      The exception that triggered the retry attempt.
      Returns:
    • entity

      public RecordedEntity entity()
      The to-be-recovered entity.
      Returns:
    • queue

      public RecordedQueue queue()
      The to-be-recovered entity as a queue.
      Returns:
    • exchange

      public RecordedExchange exchange()
      The to-be-recovered entity as an exchange.
      Returns:
    • binding

      public RecordedBinding binding()
      The to-be-recovered entity as a binding.
      Returns:
    • consumer

      public RecordedConsumer consumer()
      The to-be-recovered entity as a consumer.
      Returns: