Exemplo n.º 1
0
 /// <inheritdoc cref="Consumer.CommitCoreAsync(IReadOnlyCollection{IBrokerMessageIdentifier})" />
 protected override Task CommitCoreAsync(
     IReadOnlyCollection <IBrokerMessageIdentifier> brokerMessageIdentifiers)
 {
     try
     {
         return(CommitCoreAsync(brokerMessageIdentifiers.Cast <TIdentifier>().ToList()));
     }
     catch (Exception exception)
     {
         _logger.LogConsumerCommitError(this, brokerMessageIdentifiers, exception);
         throw;
     }
 }