Class NackedAmqpMessageException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.messaging.MessagingException
org.springframework.integration.amqp.support.NackedAmqpMessageException
- All Implemented Interfaces:
Serializable
public class NackedAmqpMessageException extends MessagingException
An exception representing a negatively acknowledged message from a
publisher confirm.
- Since:
- 4.3.12
- Author:
- Gary Russell
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description NackedAmqpMessageException(Message<?> message, Object correlationData, String nackReason)
-
Method Summary
Modifier and Type Method Description Object
getCorrelationData()
String
getNackReason()
String
toString()
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
Method Details
-
getCorrelationData
-
getNackReason
-
toString
- Overrides:
toString
in classMessagingException
-