camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <>
Subject [jira] Assigned: (CAMEL-3520) File consumer should let user specify readlock checking period
Date Tue, 11 Jan 2011 06:45:47 GMT


Claus Ibsen reassigned CAMEL-3520:

    Assignee: Claus Ibsen

> File consumer should let user specify readlock checking period
> --------------------------------------------------------------
>                 Key: CAMEL-3520
>                 URL:
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>         Environment: Linux 64bits
> Java(TM) SE Runtime Environment (build 1.6.0_23-b05)
>            Reporter: Pham Ngoc Hai
>            Assignee: Claus Ibsen
>            Priority: Minor
>         Attachments: FileEndpointReadLockCheckInterval.patch
> Currently the only reliable readLock that we can use is "changed", but even with that,
the default setting is 1 second which is not long enough if the file is being written to very
slowly. So we have to provide a exclusiveReadLockStrategy which is exactly the same as FileChangedExclusiveReadLockStrategy
with a longer sleep time.
> It'll be great if we can have an option like readLockCheckInterval so users can specify
how long the file should be checked again.
> Something like:
> from("file:/data/inbox?readLock=changed&readLockCheckInterval=5000&readLockTimeout=60000")

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message