with <broker /> i think:

http://activemq.apache.org/kahadb.html

so i guess sthg like

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://activemq.org/config/1.0";>

  <broker brokerName="receiver" persistent="true" useJmx="false">

    <persistenceAdapter>
      <kahaDB directory="activemq-data" journalMaxFileLength="32mb"/>
    </persistenceAdapter>

  </broker>
</beans>

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*



2013/3/13 Davide Bolognini <[email protected]>

> Hi Romain,
> Hi all,
>
> I have already put the persistence=true in the inline config, and with a
> mysql DB it works properly. I have a problem when I remove the DataSource
> in
> order to use KahaDB: in this case the exception occours.
>
> About activemq.xml: according to my tomee.xml presented in the post, can
> someone suggests me how to configure activemq.xml JUST to have KahaDB?
>
> Thanks a lot!
>
> Davide
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/Activemq-KahaDB-tp4661443p4661487.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>

Reply via email to