while (iter.hasNext()) {
Map.Entry<SysMessageID, List<ConsumerUID>> entry = iter.next();
SysMessageID mid = entry.getKey();
List<ConsumerUID> consumers = entry.getValue();
PacketReference packRef = Destination.get(mid);
if (packRef == null) {
String msg = getPrefix()
+ " convertLocalToTxnLogFormat: can not find packet for consumed msg"
+ mid + " in txn " + txnInfo;
logger.log(Logger.WARNING, msg);
} else {
DestinationUID destUID = packRef.getDestination()
.getDestinationUID();
if (consumers != null) {
for (int i = 0; i < consumers.size(); i++) {
ConsumerUID cid = consumers.get(i);
ConsumerUID storedcid = (ConsumerUID) cuidToStored