public PublishConfigurationBuilder(ExchangeConfiguration defaultExchange = null, string routingKey = null) { _exchange = new ExchangeConfigurationBuilder(defaultExchange); _routingKey = routingKey ?? _oneOrMoreWords; }
public SubscriptionConfigurationBuilder(QueueConfiguration initialQueue, ExchangeConfiguration initialExchange, string routingKey) { _exchangeBuilder = new ExchangeConfigurationBuilder(initialExchange); _queueBuilder = new QueueConfigurationBuilder(initialQueue); _routingKey = routingKey; }