[ 
https://issues.apache.org/activemq/browse/AMQ-318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=59107#action_59107
 ] 

Krishna commented on AMQ-318:
-----------------------------

How to configure the checkpointInterval  of the JournalPersistenceAdapter  in 
5.3.1 release?

We are planning to use high performance Journal  + Mysql  permanent persistent 
. So our config is:

   <persistenceAdapter>
          <journaledJDBC dataDirectory="${activemq.base}/broker"  
dataSource="#mysql-ds"  />
    </persistenceAdapter>

But we are also planning to control the checkpointInterval, so puzzling how to 
configure it. 
 
Thanks lot.

> Allow the journal's checkpoint period to be configurable.
> ---------------------------------------------------------
>
>                 Key: AMQ-318
>                 URL: https://issues.apache.org/activemq/browse/AMQ-318
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: Message Store
>    Affects Versions: 3.0
>            Reporter: Hiram Chirino
>            Priority: Minor
>             Fix For: 3.1
>
>         Attachments: activemq.dtd.patch, JournalPersistenceAdapter.java.patch
>
>
> m...@msdservices.com reported on the user list:
> Is the journal's checkpoint periodicity configurable?  Looking in 
> JournalPersistenceAdapter.java, the answer appears to be no.
> I would like to request that this timing be exposed.  While I am comfortable 
> with 5 minutes, the people who have to administer the system I am building 
> would not be.
> // Do a checkpoint periodically.
> clockTicket = getClockDaemon().executePeriodically(1000 * 60 * 5, new 
> Runnable() {
>   public void run() {
>       checkpoint(false);
>   }
> }, false);
> Matt

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to