Ejemplo n.º 1
0
 public void SetDispatched(ICommit commit)
 {
     try
     {
         if (_messageTracker.Dispatched(commit.CommitId, DateTime.UtcNow))
         {
             if (commit.Headers.ContainsKey("reply-to"))
             {
                 //_bus.Publish(new CommitProjected(
                 //    commit.Headers["reply-to"].ToString(),
                 //    commit.CommitId,
                 //    "readmodel"
                 //    ));
             }
         }
     }
     catch (Exception ex)
     {
         Logger.Error("Commit status update failed", ex);
     }
 }
Ejemplo n.º 2
0
 public bool Dispatched(Guid messageId, DateTime dispatchedAt)
 {
     return(_originalTracker.Dispatched(messageId, dispatchedAt));
 }