activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lionel Cons (JIRA)" <>
Subject [jira] [Created] (ARTEMIS-528) The "lock" directory should be configurable
Date Fri, 20 May 2016 12:02:12 GMT
Lionel Cons created ARTEMIS-528:

             Summary: The "lock" directory should be configurable
                 Key: ARTEMIS-528
             Project: ActiveMQ Artemis
          Issue Type: Improvement
            Reporter: Lionel Cons

Artemis allows the broker owner to change most of the paths used, see for instance the "*-directory"
elements like "paging-directory". There is one major exception though.

The directory holding the {{cli.lock}} file is currently hard-coded in {{artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/}}

   protected File getLockPlace() throws Exception {
      String brokerInstance = getBrokerInstance();
      if (brokerInstance != null) {
         return new File(new File(brokerInstance),"lock");
      else {
         return null;

Could you please allow changing the name of this directory?

Ideally, it could appear like the other "*-directory" elements in {{broker.xml}}. If this
is too late, it could come from a Java property such as {{artemis.lockdir}}.

This message was sent by Atlassian JIRA

View raw message