public PublishConfigurationBuilder(ExchangeConfiguration defaultExchange = null, string routingKey = null)
 {
     _exchange   = new ExchangeConfigurationBuilder(defaultExchange);
     _routingKey = routingKey ?? _oneOrMoreWords;
 }
コード例 #2
0
 public SubscriptionConfigurationBuilder(QueueConfiguration initialQueue, ExchangeConfiguration initialExchange, string routingKey)
 {
     _exchangeBuilder = new ExchangeConfigurationBuilder(initialExchange);
     _queueBuilder    = new QueueConfigurationBuilder(initialQueue);
     _routingKey      = routingKey;
 }