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.

Reply via email to