activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GregTom <greguss.ta...@gmail.com>
Subject Re: Enabling scheduleSupport
Date Fri, 03 Jul 2015 12:28:23 GMT
I managed to solve the problem, so I write it here to document it:

To configure ActiveMQ broker in TomEE, and turn on schedulerSupport with
KahaDB, we should put these lines into tomee.xml:

<Resource id="MyJmsResourceAdapter" type="ActiveMQResourceAdapter">
    BrokerXmlConfig =
broker:(tcp://127.0.0.1:61616)?usekahadb=true&amp;persistent=true&amp;schedulerSupport=true
</Resource>

<Resource id="MyJmsConnectionFactory" type="javax.jms.ConnectionFactory">
    ResourceAdapter = MyJmsResourceAdapter
</Resource>

One more thing is necessary to make this work:
ActiveMQ puts some folders for KahaDB into tomee's bin folder, so this
folder must be writeable for tomee process at least for the first run. After
necessary subfolders are created, bin folder can be changed back to not
writeable.




--
View this message in context: http://activemq.2283324.n4.nabble.com/Enabling-scheduleSupport-tp4698334p4698557.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message