Nearly.

Remove the TomEE DataSource and configure persistence in the activemq.xml Also fix the transportConnector uri - everything in activemq.xml is ActiveMQ documentation.

<persistenceAdapter>
<kahaDB directory="activemq-data/kaha" indexCacheSize="20000" ignoreMissingJournalfiles="true" checkForCorruptJournalFiles="true" checksumJournalFiles="true"/>
   </persistenceAdapter>

   <transportConnectors>
     <transportConnector uri="tcp://localhost:61616?keepAlive=true"/>
   </transportConnectors>

Andy.

Reply via email to