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 AddressgetAddress(org.springframework.retry.RetryContext context)Retrieve theAddressfrom the context.static MessagegetMessage(org.springframework.retry.RetryContext context)Retrieve theMessagefrom 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
-
-