camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Advice on Error Handling
Date Sat, 26 Mar 2011 10:34:07 GMT
Hi

Check out the camel documentation
http://camel.apache.org/error-handling-in-camel.html
http://camel.apache.org/exception-clause.html

And read the links those pages refer to.

But I suggest to pickup the Camel book and read chapter 5 as its
covers error handling and all its features throughly.




On Thu, Mar 24, 2011 at 5:38 PM, Phil <public_phil@me.com> wrote:
> Could someone point me to a few examples that will help me implement these
> types of error handling and process monitoring:
>
> * Each time a file is written via the SFTP component, a bean method is
> called.  If a failure occurs, the exchange is re-tried a configurable number
> of times.
>
> * If a bean processing method recognizes an error condition, a file is
> written to a configurable directory.
>
> For the first item, my bean will record the file being sent and a success or
> failure in our monitoring database.
> For the second item, the bean will move a file to an error directory that my
> users will examine and may reprocess.
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Mime
View raw message