Spring AMQP

org.springframework.amqp
Class AmqpRejectAndDontRequeueException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.springframework.amqp.AmqpException
                  extended by org.springframework.amqp.AmqpRejectAndDontRequeueException
All Implemented Interfaces:
java.io.Serializable

public class AmqpRejectAndDontRequeueException
extends AmqpException

Exception for listener implementations used to indicate the basic.reject will be sent with requeue=false in order to enable features such as DLQ.

Since:
1.0.1
Author:
Gary Russell
See Also:
Serialized Form

Constructor Summary
AmqpRejectAndDontRequeueException(java.lang.String message)
           
AmqpRejectAndDontRequeueException(java.lang.String message, java.lang.Throwable cause)
           
AmqpRejectAndDontRequeueException(java.lang.Throwable cause)
           
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AmqpRejectAndDontRequeueException

public AmqpRejectAndDontRequeueException(java.lang.String message,
                                         java.lang.Throwable cause)

AmqpRejectAndDontRequeueException

public AmqpRejectAndDontRequeueException(java.lang.String message)

AmqpRejectAndDontRequeueException

public AmqpRejectAndDontRequeueException(java.lang.Throwable cause)

Spring AMQP