public NatsQueryHandlerAdapter(INatsConnectionFactory connectionFactory, INatsSerializer serializer, ITypeFactory typeFactory, INatsReceiverQueryQueueFactory queueFactory) { _connectionFactory = connectionFactory; _serializer = serializer; _typeFactory = typeFactory; _queueFactory = queueFactory; }
public QueryMessageReceiverHostedService( IDiScope diScope, INatsConnectionFactory connectionFactory, INatsReceiverQueryQueueFactory queueFactory, ILogService logService, INatsQueryReplyFactory replyFactory) : base(logService) { _diScope = diScope; _connectionFactory = connectionFactory; _queueFactory = queueFactory; _replyFactory = replyFactory; }