try {
mbus.preTakeover(cb.getBrokerName(), tracker.getDownStoreSessionUID(),
((BrokerMQAddress)cb.getBrokerURL()).getHost().getHostAddress(),
tracker.getBrokerSessionUID());
TakeoverStoreInfo info = cb.takeover(force, tracker);
tracker.setStage_BEFORE_PROCESSING();
takeoverComplete = true;
logger.log(Logger.INFO, BrokerResources.I_TAKEOVER_OK,
tracker.getBrokerID());
Map msgs = info.getMessageMap();
List txn = info.getTransactionList();
List remoteTxn = info.getRemoteTransactionList();
logger.log(Logger.INFO,
BrokerResources.I_TAKEOVER_TXNS,
tracker.getBrokerID(),
String.valueOf(txn == null ? 0 : txn.size()));
logger.log(Logger.INFO,