public void Prepare(PreparingEnlistment preparingEnlistment)
{
assertNotDisposed();
logger.DebugFormat("Preparing enlistment with id: {0}", Id);
var information = preparingEnlistment.RecoveryInformation();
queueStorage.Global(actions =>
{
actions.RegisterRecoveryInformation(Id, information);
actions.Commit();
});
preparingEnlistment.Prepared();
logger.DebugFormat("Prepared enlistment with id: {0}", Id);
}