Package org.springframework.amqp.support
Class SendRetryContextAccessor
- java.lang.Object
-
- org.springframework.amqp.support.SendRetryContextAccessor
-
public final class SendRetryContextAccessor extends Object
Type safe accessor for retried message sending.- Since:
- 2.0.6
- Author:
- Gary Russell
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Address
getAddress(org.springframework.retry.RetryContext context)
Retrieve theAddress
from the context.static Message
getMessage(org.springframework.retry.RetryContext context)
Retrieve theMessage
from the context.
-
-
-
Field Detail
-
MESSAGE
public static final String MESSAGE
Key for the message we tried to send.- See Also:
- Constant Field Values
-
ADDRESS
public static final String ADDRESS
Key for the Address we tried to send to.- See Also:
- Constant Field Values
-
-