The request/response settings.
Inheritance: SlimMessageBus.Host.Config.HasProviderExtensions, ITopicGroupConsumerSettings, IConsumerEvents
コード例 #1
0
        public MessageBusBuilder ExpectRequestResponses(Action <RequestResponseBuilder> reqRespBuilder)
        {
            var item = new RequestResponseSettings();

            reqRespBuilder(new RequestResponseBuilder(item));
            _settings.RequestResponse = item;
            return(this);
        }
コード例 #2
0
        public MessageBusBuilder ExpectRequestResponses(Action <RequestResponseBuilder> reqRespBuilder)
        {
            if (reqRespBuilder == null)
            {
                throw new ArgumentNullException(nameof(reqRespBuilder));
            }

            var item = new RequestResponseSettings();

            reqRespBuilder(new RequestResponseBuilder(item));
            Settings.RequestResponse = item;
            return(this);
        }
コード例 #3
0
 public RequestResponseBuilder(RequestResponseSettings settings)
 {
     Settings = settings;
 }