Package org.springframework.amqp.support
Class SendRetryContextAccessor
- java.lang.Object
-
- org.springframework.amqp.support.SendRetryContextAccessor
-
public final class SendRetryContextAccessor extends java.lang.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 java.lang.String MESSAGE
Key for the message we tried to send.- See Also:
- Constant Field Values
-
ADDRESS
public static final java.lang.String ADDRESS
Key for the Address we tried to send to.- See Also:
- Constant Field Values
-
-