public MessageBus(IMessageHandlerResolver messageHandlerResolver, IMessageBusAdminClient messageBusAdmin, IMessageBusClient messageBusClient, IMessageProcessorResolver messageProcessorResolver, MessageBusOptions?messageBusOptions = null) { _messageHandlerResolver = messageHandlerResolver; _messageBusAdminClient = messageBusAdmin; _messageBusClient = messageBusClient; _messageProcessorResolver = messageProcessorResolver; _messageBusOptions = messageBusOptions ?? new MessageBusOptions(); _messageTypePropertyName = _messageBusOptions.MessageTypePropertyName; }
internal void Build(MessageBusOptions messageBusOptions) { _messageBusOptions = messageBusOptions; AddMessageVersionProperty(); ValidateLabelOrMessageTypePropertyPresent(); }