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&persistent=true&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.