TransactionState transactionState = (TransactionState)iter.next();
if (LOG.isDebugEnabled()) {
LOG.debug("tx: " + transactionState.getId());
}
for (Iterator iterator = transactionState.getCommands().iterator(); iterator.hasNext();) {
Command command = (Command)iterator.next();
if (LOG.isDebugEnabled()) {
LOG.debug("tx replay: " + command);
}
transport.apply(command);
}