You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Vijay <vi...@gmail.com> on 2011/07/05 20:34:48 UTC
Kahadb Question
I am referring to http://activemq.apache.org/kaha-persistence.html to enable
kaha persistentce.
snippet1 below is what AMQ by default provides and snippet 2 is what is
mentioned in the link above.
Both these snippets have directory configuration. What is the difference
between these two?
snippet1:
----------------
<broker brokerName="broker" persistent="true" useShutdownHook="false">
:
:
<persistenceAdapter>
<kahaDB directory="targetmq/data/kahadb"/>
</persistenceAdapter>
:
:
</broker>
snippet2:
----------------
<broker brokerName="broker" persistent="true" useShutdownHook="false">
:
:
<persistenceAdapter>
<kahaPersistenceAdapter directory="targetmq/slave/data/kahadb"
maxDataFileLength="33554432"/>
</persistenceAdapter>
:
:
</broker>
--
View this message in context: http://activemq.2283324.n4.nabble.com/Kahadb-Question-tp3646745p3646745.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: Kahadb Question
Posted by Dejan Bosanac <de...@nighttale.net>.
Hi,
kahaPersistenceAdapter is an old store, while kahaDB is the new one, used by
default. So you should stick with KahaDB.
Regards
--
Dejan Bosanac - http://twitter.com/dejanb
-----------------
The experts in open source integration and messaging - http://fusesource.com
ActiveMQ in Action - http://www.manning.com/snyder/
Blog - http://www.nighttale.net
On Tue, Jul 5, 2011 at 8:34 PM, Vijay <vi...@gmail.com> wrote:
> I am referring to http://activemq.apache.org/kaha-persistence.html to
> enable
> kaha persistentce.
>
> snippet1 below is what AMQ by default provides and snippet 2 is what is
> mentioned in the link above.
> Both these snippets have directory configuration. What is the difference
> between these two?
>
> snippet1:
> ----------------
> <broker brokerName="broker" persistent="true" useShutdownHook="false">
> :
> :
> <persistenceAdapter>
> <kahaDB directory="targetmq/data/kahadb"/>
> </persistenceAdapter>
> :
> :
> </broker>
>
> snippet2:
> ----------------
> <broker brokerName="broker" persistent="true" useShutdownHook="false">
> :
> :
> <persistenceAdapter>
> <kahaPersistenceAdapter directory="targetmq/slave/data/kahadb"
> maxDataFileLength="33554432"/>
> </persistenceAdapter>
> :
> :
> </broker>
>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/Kahadb-Question-tp3646745p3646745.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>