Beispiel #1
0
        /// <summary>
        ///     c'tor taking settings to configure the endpoint with
        /// </summary>
        public TransportFactoryImpl(ReceiverSettings receiverSettings, SenderSettings senderSettings)
        {
            _addresses = new ReaderWriterLockedDictionary <Uri, AzureServiceBusEndpointAddress>();
            _connCache = new ReaderWriterLockedDictionary <Uri, ConnectionHandler <ConnectionImpl> >();
            _formatter = new AzureMessageNameFormatter();

            _receiverSettings = receiverSettings;
            _senderSettings   = senderSettings;

            _logger.Debug("created new transport factory");
        }
		/// <summary>
		/// 	c'tor taking settings to configure the endpoint with
		/// </summary>
		public TransportFactoryImpl(ReceiverSettings receiverSettings, SenderSettings senderSettings)
		{
			_addresses = new ReaderWriterLockedDictionary<Uri, AzureServiceBusEndpointAddress>();
			_connCache = new ReaderWriterLockedDictionary<Uri, ConnectionHandler<ConnectionImpl>>();
			_formatter = new AzureMessageNameFormatter();

			_receiverSettings = receiverSettings;
			_senderSettings = senderSettings;

			_logger.Debug("created new transport factory");
		}