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:
java.io.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(java.lang.String message)
ImmediateAcknowledgeAmqpException(java.lang.String message, java.lang.Throwable cause)
ImmediateAcknowledgeAmqpException(java.lang.Throwable cause)
-
-
-
Constructor Detail
-
ImmediateAcknowledgeAmqpException
public ImmediateAcknowledgeAmqpException(java.lang.String message)
-
ImmediateAcknowledgeAmqpException
public ImmediateAcknowledgeAmqpException(java.lang.Throwable cause)
-
ImmediateAcknowledgeAmqpException
public ImmediateAcknowledgeAmqpException(java.lang.String message, java.lang.Throwable cause)
-
-