void recoverPreparedTransactions() {
try {
final SessionContextImpl context = new SessionContextImpl(null, null);
context.setInRecoverMode(true);
this.recoverHeuristicTransactions();
this.transactionStore.recover(new TransactionRecoveryListener() {
@Override
public void recover(final XATransactionId xid, final PutCommand[] putCmds) {
try {
TransactionalCommandProcessor.this.beginTransaction(context, xid, 0);