camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stefzar <stef...@hotmail.com>
Subject Re: Changing from file-consumer to ftp-consumer
Date Tue, 26 Jun 2012 15:34:02 GMT
Thank you for your answer so far but it is a bit more difficult.

In our program it may happen that we are polling on folders which do not
exist. With the file Component it sends an emptyMessage if the folder should
not exist, but with the FTP Component we get an Exception instead which
tells us that the directory was not found:
org.apache.camel.component.file.GenericFileOperationFailedException: File
operation failed: 550 CWD failed. "/Notification/IDCard/20120528-00":
directory not found.

How can I manage to get the same behaviour with the FTP-Component as we have
with the file-Component, when polling on non existent folders?

--
View this message in context: http://camel.465427.n5.nabble.com/Changing-from-file-consumer-to-ftp-consumer-tp5715125p5715127.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message