src/Common/FileMessagingConfig.cs
/// <summary>
/// Gets the instance of a <see cref="IBrokerConfig"/> related to the queue name.
/// If the queue does not exist in the configuration, the broker set as default is used.
/// </summary>
Gets the instance of a  related to the queue name.
If the queue does not exist in the configuration, the broker set as default is used.
Gets the instance of a related to the queue name . If the queue does not exist in the configuration the broker set as default is used .
public IBrokerConfig GetConfigForQueue(string queueName)
        {
            if (_queues.ContainsKey(queueName))
                return _configurations[_queues[queueName]];
            var configInstance = GetTransporterConfigInstance(queueName, out string brokerName);
            _queues[queueName] = brokerName;
            _configurations[brokerName] = configInstance;
            return configInstance;
        }
public IBrokerConfig GetConfigForQueue ( string queueName ) { if ( _queues . ContainsKey ( queueName ) ) return _configurations [ _queues [ queueName ] ] ; var configInstance = GetTransporterConfigInstance ( queueName , out string brokerName ) ; _queues [ queueName ] = brokerName ; _configurations [ brokerName ] = configInstance ; return configInstance ; }
Gets the instance of a  related to the queue name.
Gets the instance of a related to the queue name .
queueName
string