Opps miss a couple of commits with that last change.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@741329 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Hiram R. Chirino 2009-02-05 22:42:42 +00:00
parent 180b0ec4ab
commit 273933378b
2 changed files with 2 additions and 2 deletions

View File

@ -46,6 +46,6 @@ abstract public class AbstractMessageStore implements MessageStore {
public void setMemoryUsage(MemoryUsage memoryUsage) {
}
public void setBatch(MessageId messageId) throws IOException {
public void setBatch(MessageId messageId) throws IOException, Exception {
}
}

View File

@ -412,7 +412,7 @@ public class JournalMessageStore extends AbstractMessageStore {
}
@Override
public void setBatch(MessageId messageId) {
public void setBatch(MessageId messageId) throws Exception {
peristenceAdapter.checkpoint(true, true);
longTermStore.setBatch(messageId);
}