You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Lorrin Nelson (JIRA)" <ji...@apache.org> on 2010/09/23 02:35:41 UTC
[jira] Updated: (CAMEL-3149) Expose some FileOperations related
methods to enable external use (e.g. by Processors)
[ https://issues.apache.org/activemq/browse/CAMEL-3149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lorrin Nelson updated CAMEL-3149:
---------------------------------
Attachment: 0001-Make-some-file-operation-related-methods-public-for-.patch
> Expose some FileOperations related methods to enable external use (e.g. by Processors)
> --------------------------------------------------------------------------------------
>
> Key: CAMEL-3149
> URL: https://issues.apache.org/activemq/browse/CAMEL-3149
> Project: Apache Camel
> Issue Type: Improvement
> Components: camel-core, camel-ftp
> Reporter: Lorrin Nelson
> Attachments: 0001-Make-some-file-operation-related-methods-public-for-.patch
>
>
> Currently writing a Processor to e.g. delete a file on an FTP endpoint requires explicitly coding for a specific implementation:
> RemoteFileOperations<ChannelSftp.LsEntry> ops = new SftpOperations();
> ops.setEndpoint(endpoint);
> This could be avoided by making createRemoteFileOperations() a public (rather than protected) member of the RemoteFileEndpoint interface?
> Along those lines there's a lot of useful logic in GenericFileProducer.createFileName() that would be useful when using the file operations directly.
> See email discussion w/ Claus Ibsen on dev@ Sept 2,7,9.
> Proposed patch makes those methods as well as a few others public.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.