camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From manglu <man...@gmail.com>
Subject Error handling - Want to send emails on errors
Date Wed, 06 Feb 2013 05:32:05 GMT
Hi,

I am new to Camel and slowly coming to terms with it.

I want a custom error handler so that i does the error mapping (code,
description etc) and return custom messages back to the clients.

As part of this i want to send emails to admin with the error information.

I noticed threads where slow SMTP/Mail server issues can cause trouble

http://stackoverflow.com/questions/7107616/apache-camel-smtp-component-hangs-the-whole-bus-if-mailserver-is-down

I simply want the mail to be sent out as a one-way call  and not worry about
how/when the email is sent out and i want the control to be returned
immediately to the pipeline and back to the client.

I was thinking of invoking the email in my Error Processor and  I don't
think i will have a chance here to make it an async (one-way call).

Appreciate if people could pitch in with their thoughts and suggestions.

Thanks
Manglu



--
View this message in context: http://camel.465427.n5.nabble.com/Error-handling-Want-to-send-emails-on-errors-tp5727021.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message