activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg <drobenyuk.o...@gmail.com>
Subject Re: How to use persistenceAdapter for persistent Scheduled Messages ?
Date Mon, 03 Aug 2015 08:51:54 GMT
It works ! 

Need put this module after  "</destinationPolicy>" 

<jobSchedulerStore>
   <bean xmlns="http://www.springframework.org/schema/beans"
id="jobSchedulerStore"
class="org.apache.activemq.store.kahadb.scheduler.JobSchedulerStoreImpl">
        <property name="directory"
value="${activemq.data}/static-broker1/scheduler" />
        <property name="journalMaxFileLength" value="1000000"/>
   </bean>
</jobSchedulerStore>

Then restart broker and your application if you need it.
db-*.logs in scheduler directory  are starting cutdown according to the
value specified into <property name="journalMaxFileLength" value= ... />

Thank you very much, Christopher ! 




--
View this message in context: http://activemq.2283324.n4.nabble.com/How-to-use-persistenceAdapter-for-persistent-Scheduled-Messages-tp4699805p4700308.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message