public UnprocessedMessagesResender(
     IUnprocessedMessagesAgent unprocessedMessagesAgent,
     IMessagingLogger messagingLogger
     )
 {
     _unprocessedMessagesAgent = unprocessedMessagesAgent;
     _messagingLogger          = messagingLogger;
 }
Пример #2
0
 public LegacyUnprocessedMessagesAgent(
     LegacyMongoAgent mongoAgent,
     IMessagingConfiguration messagingConfiguration,
     IMessagingLogger messagingLogger
     )
 {
     _mongoAgent             = mongoAgent;
     _messagingConfiguration = messagingConfiguration;
     _messagingLogger        = messagingLogger;
 }
Пример #3
0
 public BackOfficeHub(
     IBus bus,
     IBrokerConnectionManager brokerConnectionManager,
     IJsonSerializer jsonSerializer,
     IMessagingLogger messagingLogger)
 {
     this.bus = bus;
     this.brokerConnectionManager = brokerConnectionManager;
     this.jsonSerializer          = jsonSerializer;
     this.messagingLogger         = messagingLogger;
 }
Пример #4
0
 public LegacyListeningAgent(
     LegacyMongoAgent mongoAgent,
     IMessagingLogger messagingLogger,
     IMessageStatusManager messageStatusManager,
     MessageProcessor messageProcessor
     )
 {
     _mongoAgent           = mongoAgent;
     _messagingLogger      = messagingLogger;
     _messageStatusManager = messageStatusManager;
     _messageProcessor     = messageProcessor;
 }
Пример #5
0
 public MessageProcessor(
     IMessageHandlersCache messageHandlersCache,
     IMessageTypesCache messageTypesCache,
     IMessageHandlerFactory messageHandlerFactory,
     IMessagingLogger messagingLogger
     )
 {
     _messageHandlersCache  = messageHandlersCache;
     _messageTypesCache     = messageTypesCache;
     _messageHandlerFactory = messageHandlerFactory;
     _messagingLogger       = messagingLogger;
 }
Пример #6
0
 public MessageProcessor(
     IMessageHandlersCache messageHandlersCache,
     IMessageTypesCache messageTypesCache,
     IMessagingLogger messagingLogger,
     IInstanceResolver instanceResolver
     )
 {
     _messageHandlersCache = messageHandlersCache;
     _messageTypesCache    = messageTypesCache;
     _messagingLogger      = messagingLogger;
     _instanceResolver     = instanceResolver;
 }
Пример #7
0
 public QueuePublisher(
     ITopicNameProvider topicNameProvider,
     IMessagingLogger messagingLogger,
     IPublishingAgent publishingAgent,
     ISubscriptionAgent subscriptionAgent
     )
 {
     _topicNameProvider = topicNameProvider;
     _messagingLogger   = messagingLogger;
     _publishingAgent   = publishingAgent;
     _subscriptionAgent = subscriptionAgent;
 }
Пример #8
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;
 }
 public RabbitMqListener(IServiceProvider serviceProvider, IMessagingLogger logger, IConfiguration configuration)
 {
     _serviceProvider = serviceProvider;
     _logger          = logger;
     _configuration   = configuration;
 }
 public AccountUpdateFailedEventHandler(IDatabaseCommands dbCommands, IEventValidator validator, IMessagingLogger messagingLogger, ILog errorLogger) : base(dbCommands, validator, messagingLogger)
 {
     _logger = errorLogger;
 }
 protected ListenerEventHandler(IDatabaseCommands dbCommands, IEventValidator validator, IMessagingLogger messagingLogger)
 {
     DbCommands      = dbCommands;
     Validator       = validator;
     MessagingLogger = messagingLogger;
 }
 public RabbitMqSender(IMessagingLogger logger, IConfiguration configuration)
 {
     _logger        = logger;
     _configuration = configuration;
 }
 public PriceBandEventHandler(IDatabaseCommands dbCommands, IEventValidator validator, IMessagingLogger messagingLogger, IConfiguration configuration, ILog errorLogger) : base(dbCommands, validator, messagingLogger)
 {
     _logger        = errorLogger;
     _configuration = configuration;
 }
 public PriceBandEventHandler(IDatabaseCommands dbCommands, IEventValidator validator, IMessagingLogger messagingLogger, IConfiguration configuration) : base(dbCommands, validator, messagingLogger)
 {
     _logger        = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
     _configuration = configuration;
 }
 public FileUploadCompletedHandler(IDatabaseCommands dbCommands, IEventValidator validator, IMessagingLogger messagingLogger) : base(dbCommands, validator, messagingLogger)
 {
     _logger = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
 }
 public AccountUpdateFailedEventHandler(IDatabaseCommands dbCommands, IEventValidator validator, IMessagingLogger messagingLogger) : base(dbCommands, validator, messagingLogger)
 {
     _logger = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
 }
 public Log4NetTextWriter(IMessagingLogger messagingLogger)
 {
     this.messagingLogger = messagingLogger;
     stringBuilder = new StringBuilder();
 }
 public HubConnectionManager(IAccessTokenService accessTokenService, IBus bus, IMessagingLogger messagingLogger)
 {
     this.accessTokenService = accessTokenService;
     this.bus             = bus;
     this.messagingLogger = messagingLogger;
 }
 public Log4NetTextWriter(IMessagingLogger messagingLogger)
 {
     this.messagingLogger = messagingLogger;
     stringBuilder        = new StringBuilder();
 }
 public HubConnectionManager(IAccessTokenService accessTokenService, IBus bus, IMessagingLogger messagingLogger)
 {
     this.accessTokenService = accessTokenService;
     this.bus = bus;
     this.messagingLogger = messagingLogger;
 }
Пример #21
0
 public AccountCreatedEventHandler(IDatabaseCommands dbCommands, IEventValidator validator, IConfiguration config, IMessagingLogger messagingLogger, ILog errorLogger) : base(dbCommands, validator, messagingLogger)
 {
     _logger = errorLogger;
     _config = config;
 }