Re: Enabling scheduleSupport

2015-07-03 Thread GregTom
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: BrokerXmlConfig = broker:(tcp://127.0.0.1:61616)?usekahadb=true&persistent=true&schedulerSupport=true

Re: Enabling scheduleSupport

2015-06-29 Thread GregTom
Thank you your answer. Where should I put this broker configuration: http://activemq.apache.org/schema/core"; brokerName="localhost" dataDirectory="${activemq.data}" schedulerSupport="true"> I don't have a config file in TomEE conf directory which contains such things. in the /conf directory of

Enabling scheduleSupport

2015-06-29 Thread GregTom
I am using ActiveMQ as the JMS implementation in TomEE server. I have never configured it, I just use the pure default configuration and it works well. Now I would like to use delay feature for some JMS messages. I founded that ActiveMQ has this feature: message.setLongProperty(ScheduledMessage.AM