public RabbitMqServiceBusFactory(MassTransitConnectionDescriptor connectionDescriptor, RabbitMqOptions rabbitMqOptions) { if (connectionDescriptor == null) throw new ArgumentNullException(nameof(connectionDescriptor)); if (rabbitMqOptions == null) throw new ArgumentNullException(nameof(rabbitMqOptions)); _connectionDescriptor = connectionDescriptor; _rabbitMqOptions = rabbitMqOptions; }
public RabbitMqServiceBusFactory(MassTransitConnectionDescriptor connectionDescriptor, RabbitMqOptions rabbitMqOptions) { if (connectionDescriptor == null) { throw new ArgumentNullException(nameof(connectionDescriptor)); } if (rabbitMqOptions == null) { throw new ArgumentNullException(nameof(rabbitMqOptions)); } _connectionDescriptor = connectionDescriptor; _rabbitMqOptions = rabbitMqOptions; }