You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Gary Tully (JIRA)" <ji...@apache.org> on 2016/08/24 11:08:20 UTC

[jira] [Resolved] (AMQ-6403) Allow splitting the temporary message store

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

Gary Tully resolved AMQ-6403.
-----------------------------
       Resolution: Fixed
    Fix Version/s: 5.15.0

And it does not need to be that exlicit, there is an auto conversion from string to File.{code}
    <broker   ... brokerName="localhost" dataDirectory="${activemq.data}">
        <tempDataStore>
            <pListStoreImpl directory="${activemq.data}/tempDir" indexDirectory="${activemq.data}/tempIndexDir">
            </pListStoreImpl>
        </tempDataStore>
    ...
{code}


> Allow splitting the temporary message store
> -------------------------------------------
>
>                 Key: AMQ-6403
>                 URL: https://issues.apache.org/jira/browse/AMQ-6403
>             Project: ActiveMQ
>          Issue Type: Improvement
>            Reporter: Lionel Cons
>            Assignee: Gary Tully
>             Fix For: 5.15.0
>
>
> The main KahaDB message store can be split by using different values for {{directory}} and {{indexDirectory}} in the {{<kahaDB>}} element. This is very useful to put the index file on fast media (SSD, RAM disk...) while keeping the log files on slower but larger media (spinning disks, NAS...). For reference, this is documented at http://activemq.apache.org/kahadb.html.
> Unfortunately, we cannot split the temporary message store the same way. We can change its location via the {{tmpDataDirectory}} attribute but we cannot split index and log files.
> Could you please add an option to split the temporary message store in the same spirit as what has been done for the main message store? Thanks!



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