[
https://issues.apache.org/jira/browse/CAMEL-2853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12992028#comment-12992028
]
Stan Lewis commented on CAMEL-2853:
-----------------------------------
Unfortunately it looks like this feature may have to wait for Java 7 to be
fully realized, as there's no reliable way to detect when a file has been
deleted/recreated without having to resort to JNI. Using a WatchService would
make it possible to implement this, see here -
http://java.sun.com/developer/technicalArticles/javase/nio/#6
> camel-stream - tailing logfile does not seem to work when logfile is rolled
> over
> --------------------------------------------------------------------------------
>
> Key: CAMEL-2853
> URL: https://issues.apache.org/jira/browse/CAMEL-2853
> Project: Camel
> Issue Type: Improvement
> Components: camel-stream
> Affects Versions: 2.3.0
> Reporter: Stan Lewis
> Assignee: Stan Lewis
> Fix For: 2.4.0
>
> Attachments: CamelStreamTest.zip
>
>
> Should support something like how tail --retry works, basically to try and
> re-open a file if it gets completely overwritten or deleted/rewritten.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira