This closes #1088
This commit is contained in:
commit
e13e014c6d
|
@ -741,7 +741,6 @@ public class ActiveMQServerControlImpl extends AbstractControl implements Active
|
|||
int maxConsumers,
|
||||
boolean purgeOnNoConsumers,
|
||||
boolean autoCreateAddress) throws Exception {
|
||||
System.out.println("Target===================================called!");
|
||||
checkStarted();
|
||||
|
||||
clearIO();
|
||||
|
|
|
@ -960,7 +960,11 @@ public abstract class AbstractJournalStorageManager implements StorageManager {
|
|||
|
||||
PageTransactionInfo pageTX = pagingManager.getTransaction(pageUpdate.pageTX);
|
||||
|
||||
pageTX.onUpdate(pageUpdate.recods, null, null);
|
||||
if (pageTX == null) {
|
||||
ActiveMQServerLogger.LOGGER.journalCannotFindPageTX(pageUpdate.pageTX);
|
||||
} else {
|
||||
pageTX.onUpdate(pageUpdate.recods, null, null);
|
||||
}
|
||||
} else {
|
||||
PageTransactionInfoImpl pageTransactionInfo = new PageTransactionInfoImpl();
|
||||
|
||||
|
|
|
@ -1566,4 +1566,10 @@ public interface ActiveMQServerLogger extends BasicLogger {
|
|||
@Message(id = 224074, value = "Failed to purge queue {0} on no consumers", format = Message.Format.MESSAGE_FORMAT)
|
||||
void failedToPurgeQueue(@Cause Exception e, SimpleString bindingName);
|
||||
|
||||
@LogMessage(level = Logger.Level.ERROR)
|
||||
@Message(id = 224075, value = "Cannot find pageTX id = {0}", format = Message.Format.MESSAGE_FORMAT)
|
||||
void journalCannotFindPageTX(Long id);
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue