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:
Serializable
An exception thrown when a negative acknowledgement received after publishing a
message.
- Since:
- 2.3.3
- Author:
- Gary Russell
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAmqpNackReceivedException
(String message, Message failedMessage) Create an instance with the provided message and failed message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AmqpNackReceivedException
-
-
Method Details
-
getFailedMessage
-