camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sarfaraj <sarfarajsay...@gmail.com>
Subject Re: Exception handling for camel-ftp
Date Mon, 06 May 2013 07:09:00 GMT
Yes I want to do in XML only.

Adding below two lines will cover these two exception. But I am not sure
about other (all) FTP related exception.

Basically I need a list, what all exception will occur in case of FTP used.
So i can add that exception in <onWhen>

org.apache.camel.component.file.GenericFileOperationFailedException: Cannot
connect to <XXX file system location> OR 
org.apache.camel.component.file.GenericFileOperationFailedException: Cannot
store file: <XXX file system location>

>>>>>>>>>>>>>>> 
<onWhen><simple>${exception.message} contains 'connect to'</simple><onWhen>
<onWhen><simple>${exception.message} contains 'store file'</simple><onWhen>
>>>>>>>>>>>>>>>






--
View this message in context: http://camel.465427.n5.nabble.com/Exception-handling-for-camel-ftp-tp5732051p5732063.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message