[ 
https://issues.apache.org/activemq/browse/CAMEL-790?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen resolved CAMEL-790.
-------------------------------

      Assignee: Claus Ibsen
    Resolution: Fixed

Added the option *consumer.alwaysConsume* as a boolean to enable this feature.

Description for option in wiki:
Camel 1.5: Is used to force consuming the file even if it hasn't changed since 
last time it was consumed. Is useful if you for instance move files back into a 
folder and the file keeps the original timestamp.

> Camel-File Read Files Regardless Of Last Modified And Size
> ----------------------------------------------------------
>
>                 Key: CAMEL-790
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-790
>             Project: Apache Camel
>          Issue Type: New Feature
>          Components: camel-core
>    Affects Versions: 1.4.0
>         Environment: Windows, Linux
>            Reporter: Carlo M. Camerino
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 1.5.0
>
>
> Hi,
> I've noticed that the behavior of Camel for now is that it polls the file 
> system for files. If the last modified attribute of the file is less than 
> what is stored in memory,
> camel ignores the file already.
> However in our case we need to poll the file regardless of its last modified 
> date or its file size.
> Can you add a new attributge for this type of behavior?
> from("file://c:/uploads?ignoreLastModified=true&ignoreFileSizeChange=true");
> Thanks

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