示例#1
0
        public void ClearTimeoutsFor(Guid sagaId)
        {
            if (sagaId == Guid.Empty)
            {
                throw new ArgumentException("Invalid saga id.", "sagaId");
            }

            MessageDeferrer.ClearDeferredMessages(Headers.SagaId, sagaId.ToString());
        }
 void NotifyTimeoutManagerThatSagaHasCompleted(ISaga saga)
 {
     MessageDeferrer.ClearDeferredMessages(Headers.SagaId, saga.Entity.Id.ToString());
 }