Hello again,

I have relized that I must use a ProcessStrategy instead of PollStrategy.
ProcessStrategy can be used in the uri like pollStrategy

uri = "ftp://......&processStrategy=#myProcessStrategy";;

This parameter is of Camel-File2 and FTP2 inherits it.

I am using the GenericFileRenameProcessStrategy. Now, The route doesn't
thrown the Exception, but I don't control what it's happening because I
don't know how I must design my ProcessStrategy, also I have seen in FTP-2.8
appeared a new "classs
"org.apache.camel.component.file.remote.strategy.*FtpProcessStrategyFactory*"
but I haven't found any example.

Someone has used a custom processStrategy or someone knows how use
FtpProcessStrategyFactory.

Thank you again.




--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-sftp-endpoint-and-exception-handling-tp5114385p5432298.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to