public ApplicationMessageSubscriber( IMessageQueueConsumerFactory queueConsumerFactory, IMessageSubscriptionManager subscriptionManager, IApplicationMessageProcessor processor, ILogger <ApplicationMessageSubscriber> logger, VoguediOptions options) : base(queueConsumerFactory, subscriptionManager, processor, logger, options.DefaultApplicationMessageGroupName, options.DefaultApplicationTopicQueueCount) { }
public EventSubscriber( IMessageQueueConsumerFactory queueConsumerFactory, IMessageSubscriptionManager subscriptionManager, IEventProcessor processor, ILogger <EventSubscriber> logger, VoguediOptions options) : base(queueConsumerFactory, subscriptionManager, processor, logger, options.DefaultEventGroupName, options.DefaultEventTopicQueueCount) { }
public CommandSubscriber( IMessageQueueConsumerFactory queueConsumerFactory, IMessageSubscriptionManager subscriptionManager, ICommandProcessor processor, ILogger <CommandSubscriber> logger, VoguediOptions options) : base(queueConsumerFactory, subscriptionManager, processor, logger, options.DefaultCommandGroupName, options.DefaultCommandTopicQueueCount) { }
protected MessageSubscriber( IMessageQueueConsumerFactory consumerFactory, IMessageSubscriptionManager subscriptionManager, IMessageProcessor processor, ILogger logger, string defaultGroupName, int defaultTopicQueueCount) { this.queueConsumerFactory = consumerFactory; this.subscriptionManager = subscriptionManager; this.processor = processor; this.logger = logger; this.defaultGroupName = defaultGroupName; this.defaultTopicQueueCount = defaultTopicQueueCount; timeout = TimeSpan.FromSeconds(1); cancellationTokenSource = new CancellationTokenSource(); }