[
https://issues.apache.org/activemq/browse/CAMEL-654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44558#action_44558
]
Claus Ibsen commented on CAMEL-654:
-----------------------------------
I am adding a new option - *consumer.exclusiveRead* with values *true|false*
that will only start polling the file if it has exclusive read to the file (=
not in progress of being written).
I am opting for a default value of *true* so we don't poll files in progress.
Anyone thoughts on this?
I have implemented it for the regular FTP component. Will check the SFTP part
later.
> FTP - Should not poll the file before the file has been fully transferred
> -------------------------------------------------------------------------
>
> Key: CAMEL-654
> URL: https://issues.apache.org/activemq/browse/CAMEL-654
> Project: Apache Camel
> Issue Type: Improvement
> Components: camel-ftp
> Affects Versions: 1.3.0, 1.4.0
> Environment: Windows
> Reporter: Børge
> Assignee: Claus Ibsen
> Fix For: 1.5.0
>
>
> When creating a route from File Camel starts working on the file before it is
> fully transferred, which results in an error.
> See this thread:
> http://www.nabble.com/Overall-notes-on-FTP-SFTP-component-td18166447s22882.html#a18198751
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.