public QueuePublisher(
     ITopicNameProvider topicNameProvider,
     IMessagingLogger messagingLogger,
     IPublishingAgent publishingAgent,
     ISubscriptionAgent subscriptionAgent, IDeadLettersAgent deadLettersAgent)
 {
     _topicNameProvider = topicNameProvider;
     _messagingLogger   = messagingLogger;
     _publishingAgent   = publishingAgent;
     _subscriptionAgent = subscriptionAgent;
     _deadLettersAgent  = deadLettersAgent;
 }
Exemple #2
0
 public QueueListener(
     IMessageTypesCache messageTypesCache,
     IMessagingLogger messagingLogger,
     UnprocessedMessagesResender unprocessedMessagesResender,
     IMessagingConfiguration messagingConfiguration,
     IListeningAgent listeningAgent,
     IDocumentMappingInitializer documentMappingInitializer,
     ISubscriptionAgent subscriptionAgent,
     IPublishingAgent publishingAgent,
     ICollectionCreator collectionCreator, IDeadLettersAgent deadLettersAgent)
 {
     _messageTypesCache           = messageTypesCache;
     _messagingLogger             = messagingLogger;
     _unprocessedMessagesResender = unprocessedMessagesResender;
     _messagingConfiguration      = messagingConfiguration;
     _listeningAgent             = listeningAgent;
     _documentMappingInitializer = documentMappingInitializer;
     _subscriptionAgent          = subscriptionAgent;
     _publishingAgent            = publishingAgent;
     _collectionCreator          = collectionCreator;
     _deadLettersAgent           = deadLettersAgent;
 }