Class AmqpNackReceivedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.springframework.amqp.AmqpException
-
- org.springframework.amqp.rabbit.core.AmqpNackReceivedException
-
- All Implemented Interfaces:
java.io.Serializable
public class AmqpNackReceivedException extends org.springframework.amqp.AmqpExceptionAn exception thrown when a negative acknowledgement received after publishing a message.- Since:
- 2.3.3
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AmqpNackReceivedException(java.lang.String message, org.springframework.amqp.core.Message failedMessage)Create an instance with the provided message and failed message.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.amqp.core.MessagegetFailedMessage()Return the failed message.
-