public GenericWorkerInstrumentationWriter(IUnityContainer container) { _mqQueueController = container.Resolve<IMQQueueController>(); _jsonRpcHelper = container.Resolve<IJSonRPCHelper>(); _queueSettingsResolver = container.Resolve<IQueueSettingsResolver>(); _intrumentationQueueSettings = _queueSettingsResolver.ResolveByMethodName(InstrumentationServiceMethod); }
public GenericWorkerInstrumentationWriter(IMQQueueController mqQueueController, IJSonRPCHelper jsonRpcHelper, IQueueSettingsResolver queueSettingsResolver) { _mqQueueController = mqQueueController; _jsonRpcHelper = jsonRpcHelper; _queueSettingsResolver = queueSettingsResolver; _intrumentationQueueSettings = _queueSettingsResolver.ResolveByMethodName(InstrumentationServiceMethod); }
public ContextMQTracer(IMQQueueController mqQueueController, IQueueSettingsResolver queueSettingsResolver) { _mqQueueController = mqQueueController; _loggingQueueSettings = queueSettingsResolver.ResolveByMethodName(LoggingServiceMethod); _fallbackLogger = new FallBackLogger(); }