public class RetryContext extends Object
Constructor and Description |
---|
RetryContext(RecordedEntity entity,
Exception exception,
AutorecoveringConnection connection) |
Modifier and Type | Method and Description |
---|---|
RecordedBinding |
binding()
The to-be-recovered entity as a binding.
|
AutorecoveringConnection |
connection()
The underlying connection.
|
RecordedConsumer |
consumer()
The to-be-recovered entity as a consumer.
|
RecordedEntity |
entity()
The to-be-recovered entity.
|
Exception |
exception()
The exception that triggered the retry attempt.
|
RecordedExchange |
exchange()
The to-be-recovered entity as an exchange.
|
RecordedQueue |
queue()
The to-be-recovered entity as a queue.
|
public RetryContext(RecordedEntity entity, Exception exception, AutorecoveringConnection connection)
public AutorecoveringConnection connection()
public Exception exception()
public RecordedEntity entity()
public RecordedQueue queue()
public RecordedExchange exchange()
public RecordedBinding binding()
public RecordedConsumer consumer()
Copyright © 2022 VMware, Inc. or its affiliates.. All rights reserved.