The payload of the ErrorMessage is a MessagingException - it has 2 properties cause (the actual exception) and failedMessage - the message that failed.
The payload of the ErrorMessage is a MessagingException - it has 2 properties cause (the actual exception) and failedMessage - the message that failed.
Gary P. Russell
Spring Integration Team
SpringSource, a division of VMware
Have you take a look into ErrorMessage payload? Which Exception is it?I wanted to read values from the headers in order to help deal with the error.
Let me guess: it is an org.springframework.integration.MessagingException and the last one contains a self-explained property failedMessage.
WDYT?
Well, there is a failed message but it's the input message, ie what was read from JMS, and not the message that went into the mail outbound adapter that caused the problem![]()
Last edited by jbakerc; Aug 15th, 2012 at 08:48 AM.