Class ReturnedAmqpMessageException
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.ReturnedAmqpMessageException
- All Implemented Interfaces:
Serializable
public class ReturnedAmqpMessageException
extends org.springframework.messaging.MessagingException
A MessagingException for a returned message.
- Since:
- 4.3.12
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionReturnedAmqpMessageException(org.springframework.messaging.Message<?> message, org.springframework.amqp.core.Message amqpMessage, int replyCode, String replyText, String exchange, String routingKey) -
Method Summary
Methods inherited from class org.springframework.messaging.MessagingException
getFailedMessageMethods inherited from class org.springframework.core.NestedRuntimeException
contains, getMostSpecificCause, getRootCauseMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
ReturnedAmqpMessageException
-
-
Method Details
-
getAmqpMessage
public org.springframework.amqp.core.Message getAmqpMessage() -
getReplyCode
public int getReplyCode() -
getReplyText
-
getExchange
-
getRoutingKey
-
toString
- Overrides:
toStringin classorg.springframework.messaging.MessagingException
-