Announcement Announcement Module
Collapse
No announcement yet.
jdbc:outbound-channel-adapter exception doesn't contain failedMessage Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • jdbc:outbound-channel-adapter exception doesn't contain failedMessage

    Hi all,
    I've configured a jdbc outbound-channel-adapter like this:

    <jdbc:outbound-channel-adapter channel="myChannel" data-source="myDataSource" query="my query"/>

    and I've also configured an errorChannel on the inbound endpoint.
    It's supposed to get a MessageHandlingException containing failedMessage on errorChannel when an exception occurs.

    I stopped the database service to test it. It received a CannotGetJdbcConnectionException which does not contain failedMessage.

    any suggestions?

  • #2
    Hello

    Have you caught CannotGetJdbcConnectionException in the ErrorHandler on errorChannel or just in the logs?
    failedMessage is a MessagingException's field.

    Give more info, please.

    Artem Bilan

    Comment


    • #3
      Hi Artem,
      Thank you for your answer, that worked!

      Comment

      Working...
      X