public DefaultMessageConverter( IMessageHandlerFactoryStore messageHandlerFactoryStore, IMessageDescriptorResolver messageTopicResolver, ILogger <DefaultMessageConverter> logger = null) { _messageHandlerFactoryStore = messageHandlerFactoryStore; _messageTopicResolver = messageTopicResolver; _logger = (ILogger)logger ?? NullLogger.Instance; }
public MessageSubscriber(IMessageBus messageBus, IRabbitMQWrapper rabbitMQWrapper, IMessageDescriptorResolver messageTopicResolver, ILogger <MessageSubscriber> logger) { _messageBus = messageBus; _rabbitMQWrapper = rabbitMQWrapper; _messageTopicResolver = messageTopicResolver; Logger = (ILogger)logger ?? NullLogger.Instance; }
public MessagePublisher( IMessageDescriptorResolver messageTopicResolver, ICoreSessionProvider coreSessionProvider, IMessagePublisherWrapper messagePublisherWrapper, IPublishedMessageStore messageStore, ILogger <MessagePublisher> logger = null) { _messageTopicResolver = messageTopicResolver; _coreSessionProvider = coreSessionProvider; _messagePublisherWrapper = messagePublisherWrapper; _messageStore = messageStore; _logger = (ILogger)logger ?? NullLogger.Instance; }