src/MessagingConfigBuilder.cs
/// <summary>
/// Sets any broker in the in-memory configuration.
/// </summary>
Sets any broker in the in-memory configuration.
Sets any broker in the in - memory configuration .
public MessagingConfigBuilder WithBroker(string brokerName, BrokerType configType, Dictionary<string, string> configurations, bool setAsDefault = false)
        {
            _config.SetBroker(brokerName, GetBrokerConfigType(configType), configurations);
            if (setAsDefault)
                _config.DefaultBrokerName = brokerName;
            return this;
        }
public MessagingConfigBuilder WithBroker ( string brokerName , BrokerType configType , Dictionary < string , string > configurations , bool setAsDefault = false ) { _config . SetBroker ( brokerName , GetBrokerConfigType ( configType ) , configurations ) ; if ( setAsDefault ) _config . DefaultBrokerName = brokerName ; return this ; }
Sets any broker in the in-memory configuration.
Sets any broker in the in - memory configuration .
brokerName
string
configType
BrokerType
configurations
Dictionary<string, string>
setAsDefault
bool