You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Stefan Mandel (JIRA)" <ji...@apache.org> on 2015/02/28 08:30:04 UTC

[jira] [Commented] (CAMEL-8353) FileLockExclusiveReadLockStrategy - Should defer closing channel till release lock

    [ https://issues.apache.org/jira/browse/CAMEL-8353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14341402#comment-14341402 ] 

Stefan Mandel commented on CAMEL-8353:
--------------------------------------

The current file contains a lock.acquiredBy() which is not available in jdk 1.6, but in jdk 1.7.

The maven master pom.xml contains the maven compiler plugin configured to 1.6 on branch 1.14.2.

> FileLockExclusiveReadLockStrategy - Should defer closing channel till release lock
> ----------------------------------------------------------------------------------
>
>                 Key: CAMEL-8353
>                 URL: https://issues.apache.org/jira/browse/CAMEL-8353
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.14.1
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.14.2, 2.15.0
>
>
> See nabble
> http://camel.465427.n5.nabble.com/FileLockExclusiveReadLockStrategy-doesn-t-hold-lock-and-error-on-commit-tp5762668.html
> The acquire lock method closes the channel if it acquired the lock, but that would make the lock invalid. Instead the channel should remain open and only closed when the lock is released.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)