activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r891252 - /activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/ConnectionFactory.cs
Date Wed, 16 Dec 2009 14:34:36 GMT
Author: tabish
Date: Wed Dec 16 14:34:36 2009
New Revision: 891252

URL: http://svn.apache.org/viewvc?rev=891252&view=rev
Log:
Apply Prefetch settings to the Connection from the URI options on creation.

Modified:
    activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/ConnectionFactory.cs

Modified: activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/ConnectionFactory.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/ConnectionFactory.cs?rev=891252&r1=891251&r2=891252&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/ConnectionFactory.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/ConnectionFactory.cs Wed
Dec 16 14:34:36 2009
@@ -109,6 +109,9 @@
             URISupport.CompositeData c = URISupport.parseComposite(uri);
             URISupport.SetProperties(connection, c.Parameters, "connection.");
 
+            // Apply any URI options to the Prefetch policy in the Connection.
+            URISupport.SetProperties(connection.PrefetchPolicy, c.Parameters, "nms.PrefetchPolicy.");
+
             connection.ITransport.Start();
             return connection;
         }



Mime
View raw message