You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2012/06/02 19:50:22 UTC

[jira] [Created] (CAMEL-5324) File consumer - Always include markerFile as readlock

Claus Ibsen created CAMEL-5324:
----------------------------------

             Summary: File consumer - Always include markerFile as readlock
                 Key: CAMEL-5324
                 URL: https://issues.apache.org/jira/browse/CAMEL-5324
             Project: Camel
          Issue Type: Improvement
          Components: camel-core
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
             Fix For: 2.10.0


See nabble
http://camel.465427.n5.nabble.com/Input-directory-with-multiple-file-consumers-tp5713788.html

If you run multiple nodes with Camel file consumers competing for files on a SAN then they may pickup the same file, if you use readLock=changed, etc. As the markerFile is not in use.

So ideally we should always use markerFile to prevent other consumers to pickup the file, regardless if they use changed,rename etc. as readLock.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (CAMEL-5324) File consumer - Always include markerFile as readlock

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

Claus Ibsen resolved CAMEL-5324.
--------------------------------

    Resolution: Fixed
    
> File consumer - Always include markerFile as readlock
> -----------------------------------------------------
>
>                 Key: CAMEL-5324
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5324
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.10.0
>
>
> See nabble
> http://camel.465427.n5.nabble.com/Input-directory-with-multiple-file-consumers-tp5713788.html
> If you run multiple nodes with Camel file consumers competing for files on a SAN then they may pickup the same file, if you use readLock=changed, etc. As the markerFile is not in use.
> So ideally we should always use markerFile to prevent other consumers to pickup the file, regardless if they use changed,rename etc. as readLock.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira