Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: Handling mail outbound exceptions

  1. #11
    Join Date
    Mar 2010
    Location
    Gtr Philadelphia, PA
    Posts
    2,027

    Default

    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

  2. #12
    Join Date
    Jan 2009
    Location
    Ukraine, Kharkov
    Posts
    637

    Default

    I wanted to read values from the headers in order to help deal with the error.
    Have you take a look into ErrorMessage payload? Which Exception is it?
    Let me guess: it is an org.springframework.integration.MessagingException and the last one contains a self-explained property failedMessage.

    WDYT?

  3. #13
    Join Date
    Apr 2012
    Posts
    24

    Default

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •