Class RetryContext
java.lang.Object
com.rabbitmq.client.impl.recovery.RetryContext
The context of a topology recovery retry operation.
- Since:
- 5.4.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final AutorecoveringConnectionprivate final RecordedEntityprivate final Exception -
Constructor Summary
ConstructorsConstructorDescriptionRetryContext(RecordedEntity entity, Exception exception, AutorecoveringConnection connection) -
Method Summary
Modifier and TypeMethodDescriptionbinding()The to-be-recovered entity as a binding.The underlying connection.consumer()The to-be-recovered entity as a consumer.entity()The to-be-recovered entity.The exception that triggered the retry attempt.exchange()The to-be-recovered entity as an exchange.queue()The to-be-recovered entity as a queue.
-
Field Details
-
entity
-
exception
-
connection
-
-
Constructor Details
-
RetryContext
public RetryContext(RecordedEntity entity, Exception exception, AutorecoveringConnection connection)
-
-
Method Details
-
connection
-
exception
-
entity
-
queue
-
exchange
-
binding
-
consumer
-