internal void Configure(ConnectionFactory cf) { Amqp.ConnectionFactory cfImpl = cf.Factory as Amqp.ConnectionFactory; // get properties from connection factory StringDictionary properties = cf.ConnectionProperties; // apply connection properties to connection factory and connection info. PropertyUtil.SetProperties(cfImpl.AMQP, properties, ConnectionFactory.ConnectionPropertyPrefix); PropertyUtil.SetProperties(connInfo, properties, ConnectionFactory.ConnectionPropertyPrefix); // create copy of transport context this.transportContext = cf.Context.Copy(); // Store raw properties for future objects this.properties = PropertyUtil.Clone(properties); // Create Connection builder delegate. this.implCreate = this.transportContext.CreateConnectionBuilder(); }