Spring AMQP

org.springframework.amqp
Class ImmediateAcknowledgeAmqpException

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.ImmediateAcknowledgeAmqpException
All Implemented Interfaces:
Serializable

public class ImmediateAcknowledgeAmqpException
extends AmqpException

Special exception for listener implementations that want to signal that the current batch of messages should be acknowledged immediately (i.e. as soon as possible) without rollback, and without consuming any more messages.

Author:
Dave Syer
See Also:
Serialized Form

Constructor Summary
ImmediateAcknowledgeAmqpException(String message)
           
ImmediateAcknowledgeAmqpException(String message, Throwable cause)
           
ImmediateAcknowledgeAmqpException(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

ImmediateAcknowledgeAmqpException

public ImmediateAcknowledgeAmqpException(String message)

ImmediateAcknowledgeAmqpException

public ImmediateAcknowledgeAmqpException(Throwable cause)

ImmediateAcknowledgeAmqpException

public ImmediateAcknowledgeAmqpException(String message,
                                         Throwable cause)

Spring AMQP

Copyright © 2011. All Rights Reserved.