Package org.springframework.amqp
Class ImmediateAcknowledgeAmqpException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.springframework.amqp.AmqpException
-
- 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 within the current transaction.- Author:
- Dave Syer, Gary Russell
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ImmediateAcknowledgeAmqpException(String message)
ImmediateAcknowledgeAmqpException(String message, Throwable cause)
ImmediateAcknowledgeAmqpException(Throwable cause)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-