public IPooledConnection Create(Uri uri, IConnectionReleaseManager releaseManager, IDictionary <string, string> routingContext)
            {
                var pooledConnection = _delegate.Create(uri, releaseManager, routingContext);

                Connections.Enqueue(pooledConnection);
                return(pooledConnection);
            }
            public IPooledConnection Create(Uri uri, IConnectionReleaseManager releaseManager, IConnectionListener metricsListener)
            {
                var pooledConnection = _delegate.Create(uri, releaseManager, metricsListener);

                Connections.Enqueue(pooledConnection);
                return(pooledConnection);
            }
예제 #3
0
 public IPooledConnection Create(Uri uri, IConnectionReleaseManager releaseManager)
 {
     var pooledConnection = _delegate.Create(uri, releaseManager);
     Connections.Enqueue(pooledConnection);
     return pooledConnection;
 }