You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Timothy Bish (JIRA)" <ji...@apache.org> on 2013/01/18 21:36:12 UTC

[jira] [Updated] (AMQ-4075) More transparent KahaDB file lock switch

     [ https://issues.apache.org/jira/browse/AMQ-4075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timothy Bish updated AMQ-4075:
------------------------------

    Attachment: AMQ4075Patch.txt

Have a look at the attached patch and see if this fits you needs, adds a set method in KahaDBPersistenceAdapter to allow toggling the value. 
                
> More transparent KahaDB file lock switch
> ----------------------------------------
>
>                 Key: AMQ-4075
>                 URL: https://issues.apache.org/jira/browse/AMQ-4075
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: Message Store
>    Affects Versions: 5.6.0
>            Reporter: Petr Nídl
>            Priority: Minor
>             Fix For: 5.8.0
>
>         Attachments: AMQ4075Patch.txt
>
>
> Would it be possible to change the way in which KahaDB file locking can be disabled? Currently this can be accomplished by setting 'java.nio.channels.FileLock.broken' system property. But system property settings can influence other parts of the system where this behavior is not desirable. This especially apply for enterprise systems where ActiveMQ is embedded in the application and therefore shares the same JVM.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira