Class SendRetryContextAccessor


  • public final class SendRetryContextAccessor
    extends Object
    Type safe accessor for retried message sending.
    Since:
    2.0.6
    Author:
    Gary Russell
    • Method Detail

      • getMessage

        public static Message getMessage​(org.springframework.retry.RetryContext context)
        Retrieve the Message from the context.
        Parameters:
        context - the context.
        Returns:
        the message.
        See Also:
        MESSAGE
      • getAddress

        public static Address getAddress​(org.springframework.retry.RetryContext context)
        Retrieve the Address from the context.
        Parameters:
        context - the context.
        Returns:
        the address.
        See Also:
        ADDRESS