org.springframework.integration.endpoint
Class MessageEndpointReplyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.integration.message.MessagingException
org.springframework.integration.message.MessageDeliveryException
org.springframework.integration.endpoint.MessageEndpointReplyException
- All Implemented Interfaces:
- java.io.Serializable
public class MessageEndpointReplyException
- extends MessageDeliveryException
An Exception that indicates a failure occurred while a Message Endpoint
was attempting to send a reply message. The Exception provides access to
both the reply message and the original request message.
- Author:
- Mark Fisher
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
requestMessage
private final Message<?> requestMessage
MessageEndpointReplyException
public MessageEndpointReplyException(Message<?> undeliveredMessage,
Message<?> requestMessage)
MessageEndpointReplyException
public MessageEndpointReplyException(Message<?> undeliveredMessage,
Message<?> requestMessage,
java.lang.String description)
MessageEndpointReplyException
public MessageEndpointReplyException(Message<?> undeliveredMessage,
Message<?> requestMessage,
java.lang.String description,
java.lang.Throwable cause)
getOriginalRequestMessage
public Message<?> getOriginalRequestMessage()
getUndeliveredReplyMessage
public Message<?> getUndeliveredReplyMessage()