You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Børge (JIRA)" <ji...@apache.org> on 2008/07/01 11:28:00 UTC

[jira] Created: (CAMEL-654) Should not poll the file before the file has been fully transferred

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-core
    Affects Versions: 1.3.0
         Environment: Windows
            Reporter: Børge


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.


[jira] Work started: (CAMEL-654) FTP - Should not poll the file before the file has been fully transferred

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-654?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on CAMEL-654 started by Claus Ibsen.

> 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.


[jira] Commented: (CAMEL-654) FTP - Should not poll the file before the file has been fully transferred

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43849#action_43849 ] 

Claus Ibsen commented on CAMEL-654:
-----------------------------------

The same could apply for the plain File component.

> 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.


[jira] Commented: (CAMEL-654) FTP - Should not poll the file before the file has been fully transferred

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43852#action_43852 ] 

Claus Ibsen commented on CAMEL-654:
-----------------------------------

See also this:
http://www.nabble.com/CAMEL-250%3A-Still-having-probs-td18223318s22882.html

> 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.


[jira] Commented: (CAMEL-654) FTP - Should not poll the file before the file has been fully transferred

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44620#action_44620 ] 

Claus Ibsen commented on CAMEL-654:
-----------------------------------

The option has been renamed to: *consumer.exclusiveReadLock* and is default *true* in Camel 1.5

> 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.


[jira] Resolved: (CAMEL-654) FTP - Should not poll the file before the file has been fully transferred

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-654?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-654.
-------------------------------

    Resolution: Fixed

Comitted to trunk

http://svn.apache.org/viewvc?view=rev&revision=679990

> 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.


[jira] Updated: (CAMEL-654) FTP - Should not poll the file before the file has been fully transferred

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-654?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-654:
------------------------------

              Summary: FTP - Should not poll the file before the file has been fully transferred  (was: Should not poll the file before the file has been fully transferred)
             Assignee: Claus Ibsen
        Fix Version/s: 1.5.0
    Affects Version/s: 1.4.0
          Component/s: camel-ftp
                           (was: camel-core)

Target for 1.5. Important that Camel has good components for file, ftp etc. as they are still a major means of transport for integrations.

> 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.


[jira] Commented: (CAMEL-654) FTP - Should not poll the file before the file has been fully transferred

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Commented: (CAMEL-654) FTP - Should not poll the file before the file has been fully transferred

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44557#action_44557 ] 

Claus Ibsen commented on CAMEL-654:
-----------------------------------

The same for FileConsumer, should not poll the file before it has access. Maybe a new option to set this strategy

> 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.