-
Jan 23rd, 2012, 04:35 AM
#1
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?
-
Jan 23rd, 2012, 05:52 AM
#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
-
Jan 28th, 2012, 03:13 AM
#3
Hi Artem,
Thank you for your answer, that worked!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules