Browse Source

rename processor.

undefined
Savorboard 6 years ago
parent
commit
83c8ccf889
1 changed files with 6 additions and 2 deletions
  1. +6
    -2
      src/DotNetCore.CAP/Processor/IProcessingServer.Cap.cs

+ 6
- 2
src/DotNetCore.CAP/Processor/IProcessingServer.Cap.cs View File

@@ -76,7 +76,11 @@ namespace DotNetCore.CAP.Processor
} }
catch (Exception ex) catch (Exception ex)
{ {
_logger.LogWarning(ex, "An exception was occured when disposing...");
_logger.LogWarning(ex, "An exception was occured when disposing.");
}
finally
{
_logger.LogInformation("### CAP shutdown!");
} }
} }


@@ -90,7 +94,7 @@ namespace DotNetCore.CAP.Processor
var returnedProcessors = new List<IProcessor> var returnedProcessors = new List<IProcessor>
{ {
_provider.GetRequiredService<NeedRetryMessageProcessor>(), _provider.GetRequiredService<NeedRetryMessageProcessor>(),
_provider.GetRequiredService<IAdditionalProcessor>()
_provider.GetRequiredService<ICollectProcessor>()
}; };


return returnedProcessors.ToArray(); return returnedProcessors.ToArray();


Loading…
Cancel
Save