Open SergeyKanzhelev opened 7 years ago
AsyncLocal
CorrelationContext
must be created with correlation Id, it's extracted from the request headers. If incoming request does not have header, request trace identifier is used (which is probably IIS request id).
You can create a context with any correlationIdIContextFactory
API should change accordingly, to return KV pairs instead of context. Correlation lib should provide API to call all factories and merge contextContextResolver
class wrapping AsyncLocal
variable and providing access to it.