Class QueueAttributesResolvingException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.awspring.cloud.sqs.QueueAttributesResolvingException
All Implemented Interfaces:
Serializable

public class QueueAttributesResolvingException extends RuntimeException
Exception thrown when a QueueAttributesResolver fails.
Since:
3.0
Author:
Tomaz Fernandes
See Also:
  • Constructor Details

    • QueueAttributesResolvingException

      public QueueAttributesResolvingException(String message, Throwable cause)
      Create an instance with the message and throwable cause.
      Parameters:
      message - the error message.
      cause - the cause.
    • QueueAttributesResolvingException

      public QueueAttributesResolvingException(String message, Throwable cause, boolean queueIgnored)
      Create an instance with the message, cause, and a flag indicating that the resolver treated the missing queue as ignored per QueueNotFoundStrategy.IGNORE.
      Parameters:
      message - the error message.
      cause - the cause.
      queueIgnored - whether the resolver signalled that the queue should be ignored.
      Since:
      4.2
  • Method Details

    • isQueueIgnored

      public boolean isQueueIgnored()
      Whether the resolver signalled that the missing queue should be ignored under QueueNotFoundStrategy.IGNORE, so the listener can skip startup rather than fail the application context.
      Returns:
      true if the queue should be ignored.
      Since:
      4.2