public CorrelationIdMiddleware(RequestDelegate next, ICorrelationContextManager manager,
                                       IServiceProvider provider)
        {
            _next    = next;
            _manager = manager;

            _provider = provider;
        }
Exemplo n.º 2
0
 public HeaderStage CorrelationContext(ICorrelationContextManager manager, string messageId = "")
 {
     PipelineContext.RequestMessage.AddCorrelationContext(manager.GetOrCreateAndSet(messageId));
     return(this);
 }