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
  • Field Details

  • Method Details

    • 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:
    • 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: