You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2010/07/10 08:51:51 UTC
[jira] Created: (CAMEL-2934) Port the changed readLock to be avail
for camel-ftp as well
Port the changed readLock to be avail for camel-ftp as well
-----------------------------------------------------------
Key: CAMEL-2934
URL: https://issues.apache.org/activemq/browse/CAMEL-2934
Project: Apache Camel
Issue Type: Improvement
Components: camel-ftp
Reporter: Claus Ibsen
Priority: Minor
Fix For: 2.5.0
The {{changed}} read lock
http://camel.apache.org/file2.html
Is currently only avail for the file component. We should make it generic to leverage the operations API so we can use it from FTP also.
And we should allow URI parameters to configure it using {{readLock.}} prefix, so you can do
{{readLock.timeout=5000&readLock.changedInterval=2000}}
This means the {{readLockTimeout}} should be @deprecated as we just leverage the Camel prefix properties mechanism to auto set the options.
The {{changed}} read lock should also have a new option to set the _steady_ interval. The time period in which the file must *not* have been changed. Currently its fixed to 1 second. But end users could set it to 5 sec. to ensure that the file hasn't been touched for that min. period.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CAMEL-2934) Port the changed readLock to be avail
for camel-ftp as well
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-2934?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen updated CAMEL-2934:
-------------------------------
Issue Type: New Feature (was: Improvement)
Fix Version/s: Future
(was: 2.5.0)
Priority: Major (was: Minor)
> Port the changed readLock to be avail for camel-ftp as well
> -----------------------------------------------------------
>
> Key: CAMEL-2934
> URL: https://issues.apache.org/activemq/browse/CAMEL-2934
> Project: Apache Camel
> Issue Type: New Feature
> Components: camel-ftp
> Reporter: Claus Ibsen
> Fix For: Future
>
>
> The {{changed}} read lock
> http://camel.apache.org/file2.html
> Is currently only avail for the file component. We should make it generic to leverage the operations API so we can use it from FTP also.
> And we should allow URI parameters to configure it using {{readLock.}} prefix, so you can do
> {{readLock.timeout=5000&readLock.changedInterval=2000}}
> This means the {{readLockTimeout}} should be @deprecated as we just leverage the Camel prefix properties mechanism to auto set the options.
> The {{changed}} read lock should also have a new option to set the _steady_ interval. The time period in which the file must *not* have been changed. Currently its fixed to 1 second. But end users could set it to 5 sec. to ensure that the file hasn't been touched for that min. period.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.