You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Patrick Deasy (Jira)" <ji...@apache.org> on 2024/11/13 22:38:00 UTC

[jira] [Commented] (AMQ-5045) Make default directory for KahaDB consistent

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

Patrick Deasy commented on AMQ-5045:
------------------------------------

??Also, it would make sense to me if the KahaDB directory would be created inside the broker's "dataDirectory" property. This does not currently happen.??????????

I don't believe it makes sense to move a KahaDB specific property here. The _persistenceAdapter_ provides a flexible and extensible means to configure different persistence options. For example the [AMQ message store|https://activemq.apache.org/components/classic/documentation/amq-message-store], the [Level DB store|https://activemq.apache.org/components/classic/documentation/leveldb-store] or [JDBC support|https://activemq.apache.org/components/classic/documentation/jdbc-support]. It seems cleaner to not leak persistent specific configuration from here into the _dataDirectory_ property.

> Make default directory for KahaDB consistent
> --------------------------------------------
>
>                 Key: AMQ-5045
>                 URL: https://issues.apache.org/jira/browse/AMQ-5045
>             Project: ActiveMQ Classic
>          Issue Type: Wish
>          Components: Documentation
>    Affects Versions: 5.9.0
>            Reporter: Martin Lichtin
>            Assignee: Jean-Baptiste Onofré
>            Priority: Minor
>             Fix For: 6.2.0
>
>
> http://activemq.apache.org/kahadb.html says that the default for property "directory" is "activemq-data".
> However, in the code it is
>     public static final File DEFAULT_DIRECTORY = new File("KahaDB");
> Also, it would make sense to me if the KahaDB directory would be created inside the broker's "dataDirectory" property. This does not currently happen.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@activemq.apache.org
For additional commands, e-mail: issues-help@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact