From 470daad22e38e7b959f36b63fffcd757b0e23e8c Mon Sep 17 00:00:00 2001 From: Martyn Taylor Date: Tue, 9 Feb 2016 13:39:25 +0000 Subject: [PATCH] Added back Timer intialization --- .../activemq/artemis/jdbc/store/journal/JDBCJournalImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artemis-jdbc-store/src/main/java/org/apache/activemq/artemis/jdbc/store/journal/JDBCJournalImpl.java b/artemis-jdbc-store/src/main/java/org/apache/activemq/artemis/jdbc/store/journal/JDBCJournalImpl.java index e7a0165de5..a21b455b15 100644 --- a/artemis-jdbc-store/src/main/java/org/apache/activemq/artemis/jdbc/store/journal/JDBCJournalImpl.java +++ b/artemis-jdbc-store/src/main/java/org/apache/activemq/artemis/jdbc/store/journal/JDBCJournalImpl.java @@ -119,7 +119,7 @@ public class JDBCJournalImpl implements Journal { deleteJournalRecords = connection.prepareStatement(JDBCJournalRecord.deleteRecordsSQL(tableName)); deleteJournalTxRecords = connection.prepareStatement(JDBCJournalRecord.deleteJournalTxRecordsSQL(tableName)); - + syncTimer = new Timer(timerThread, true); syncTimer.schedule(new JDBCJournalSync(this), SYNC_DELAY * 2, SYNC_DELAY); started = true;