コード例 #1
0
 public SubscriberSettings Create(MqConnectionSettings mqConnectionSettings)
 {
     return(new SubscriberSettings(
                mqConnectionSettings,
                SubscriberName,
                QueueName,
                (Bindings ?? Enumerable.Empty <ExchangeBindingDto>()).Select(b => b.Create()),
                Arguments,
                UseModelTypeAsSuffix,
                ConsumerName,
                Durable,
                Exclusive,
                AutoDelete,
                AutoAck,
                UseDeadLetter,
                UsePublisherConfirms,
                TracingSettings?.Create(),
                RetrySettings?.Create(),
                ScalingSettings?.Create()
                ));
 }