Exemplo n.º 1
0
 public QueuePublisher(
     ITopicNameProvider topicNameProvider,
     IMessagingLogger messagingLogger,
     IPublishingAgent publishingAgent,
     ISubscriptionAgent subscriptionAgent
     )
 {
     _topicNameProvider = topicNameProvider;
     _messagingLogger   = messagingLogger;
     _publishingAgent   = publishingAgent;
     _subscriptionAgent = subscriptionAgent;
 }
Exemplo n.º 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;
 }