Hello,
I have a simple flow that sends a mail via an outbound adapter and logs the message:
This works as expected.Code:<int:channel id="channel.send" /> <mail:outbound-channel-adapter order="1" channel="channel.send" mail-sender="mailSender"/> <bean id="logger" class="com.blah.MessageLogger" /> <int:service-activator order="2" input-channel="channel.send" ref="logger" />
I would like to implement exception handling, so if the email can not be sent (ie mail server down), I can modify the message and log it.
I can't find the documentation on exception handling in this instance. Can anyone help?
John


Reply With Quote
