[ 
https://issues.apache.org/activemq/browse/CAMEL-1153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47928#action_47928
 ] 

Claus Ibsen commented on CAMEL-1153:
------------------------------------

Just an update on this one. The refactor have grown on me, well I wanted the 
FTP and File component to be much more aligned.

And as we have a ticket for reusing file strategies and an idea of having a 
underlying VFS for file and FTP I have started to experiment a little.

To have this VFS we need to abstract the concrete file implementation and use 
the abstract in the consumer and producer that delegates to the concrete file 
implementation.

And as the FTP component have two file implementations
- regular FTP
- Secure FTP

I have experimented here. It goes kinda okay at the moment. I only have 
abstraction for file strategies (delete, rename, noop) but login, logout, 
upload, download etc. is also needed. 

But anyway I have the basic structure so the FTPConsumer is nearly identical 
with the FileConsumer. Using async and commit file strategies etc. 



> Refactor camel-ftp to remove timestamp
> --------------------------------------
>
>                 Key: CAMEL-1153
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1153
>             Project: Apache Camel
>          Issue Type: Task
>          Components: camel-ftp
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.0.0
>
>
> We should do the same kind of refactoring of camel-ftp as we did with the 
> file component. Espeically get rid of the timestamp and clean up the code, to 
> be more maintance firendly and be ready for adding the pluggable sorting, 
> filtering and what else comes in the future.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to