public InProcessQueueSender(ISerializer serializer, Queue queue, InProcessMessageStore messageStore, ILogger logger)
 {
     _serializer = serializer;
     _queue = queue;
     _messageStore = messageStore;
     _logger = logger;
 }
 public InProcessTopicSender(ISerializer serializer, Topic topic, InProcessMessageStore messageStore, ILogger logger)
 {
     _serializer = serializer;
     _topic = topic;
     _messageStore = messageStore;
     _logger = logger;
 }
        public InProcessQueueReceiver(string queuePath,
                                      ConcurrentHandlerLimitSetting concurrentHandlerLimit,
                                      InProcessMessageStore messageStore,
                                      IGlobalHandlerThrottle globalHandlerThrottle,
                                      ILogger logger) : base(concurrentHandlerLimit, globalHandlerThrottle, logger)
        {
            _queuePath = queuePath;
            _messageStore = messageStore;

            _messageQueue = new ThreadSafeLazy<AsyncBlockingCollection<NimbusMessage>>(() => _messageStore.GetOrCreateMessageQueue(_queuePath));
        }
 public InProcessSubscriptionReceiver(Subscription subscription,
                                      ConcurrentHandlerLimitSetting concurrentHandlerLimit,
                                      InProcessMessageStore messageStore,
                                      IGlobalHandlerThrottle globalHandlerThrottle,
                                      ILogger logger)
     : base(
         InProcessTransport.FullyQualifiedSubscriptionPath(subscription.TopicPath, subscription.SubscriptionName),
         concurrentHandlerLimit,
         messageStore,
         globalHandlerThrottle,
         logger)
 {
     _subscription = subscription;
     _messageStore = messageStore;
 }
Beispiel #5
0
 public InProcessTransport(InProcessMessageStore messageStore, PoorMansIoC container)
 {
     _messageStore = messageStore;
     _container = container;
 }
 public InProcessDelayedDeliveryService(InProcessMessageStore messageStore, IClock clock)
 {
     _messageStore = messageStore;
     _clock = clock;
 }
Beispiel #7
0
 public NamespaceCleanser(InProcessMessageStore messageStore)
 {
     _messageStore = messageStore;
 }
Beispiel #8
0
 public NamespaceCleanser(InProcessMessageStore messageStore)
 {
     _messageStore = messageStore;
 }