activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dejan Bosanac <de...@nighttale.net>
Subject Re: Kahadb Question
Date Wed, 06 Jul 2011 07:33:15 GMT
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 <vijayender.bandaru@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.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message