You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2020/04/19 15:49:43 UTC

[GitHub] [camel-quarkus] philschaller opened a new issue #1105: Read lock options for files are ignored

philschaller opened a new issue #1105: Read lock options for files are ignored
URL: https://github.com/apache/camel-quarkus/issues/1105
 
 
   **Describe the bug**
   I created a minimal integration test in a separate branch of my fork:
   https://github.com/philschaller/camel-quarkus/tree/readLockFails
   
   The route in the test should only move files with a minimal length. But it moves an empty file. Debugging the application showed that it always falls back to generic behavior in `GenericFileExclusiveReadLockStrategy.getExclusiveReadLockStrategy`.
   
   I also tried to convince the route to use the right read lock strategy by setting the option
   `exclusiveReadLockStrategy=org.apache.camel.component.file.strategy.FileChangedExclusiveReadLockStrategy`.
   
   But it does not change the result. Actually, it does not even load that class, thus it may be some class loading issue. But that is only a wild guess.
   
   **Expected behavior**
   Respect the read locks.
   
   **Workaround**
   No general one to my knowledge. But I can mitigate the problem in my application.
   
   **Environment**
   Camel Quarkus 1.0.0-M6 and master branch
   JDK 11
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services