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