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

            reqRespBuilder(new RequestResponseBuilder(item));
            _settings.RequestResponse = item;
            return(this);
        }
Esempio n. 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);
        }
Esempio n. 3
0
 public RequestResponseBuilder(RequestResponseSettings settings)
 {
     Settings = settings;
 }