activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jgo...@apache.org
Subject svn commit: r687187 - /activemq/activemq-dotnet/Apache.NMS.MSMQ/trunk/src/main/csharp/MessageProducer.cs
Date Tue, 19 Aug 2008 22:19:09 GMT
Author: jgomes
Date: Tue Aug 19 15:19:09 2008
New Revision: 687187

URL: http://svn.apache.org/viewvc?rev=687187&view=rev
Log:
Changed IConnection, ISession to have RequestTimeout property similar to IMessageProducer.
Fixes [AMQNET-89]. (See https://issues.apache.org/activemq/browse/AMQNET-89)

Modified:
    activemq/activemq-dotnet/Apache.NMS.MSMQ/trunk/src/main/csharp/MessageProducer.cs

Modified: activemq/activemq-dotnet/Apache.NMS.MSMQ/trunk/src/main/csharp/MessageProducer.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.MSMQ/trunk/src/main/csharp/MessageProducer.cs?rev=687187&r1=687186&r2=687187&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.MSMQ/trunk/src/main/csharp/MessageProducer.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.MSMQ/trunk/src/main/csharp/MessageProducer.cs Tue
Aug 19 15:19:09 2008
@@ -235,15 +235,18 @@
 			set { timeToLive = value; }
 		}
 
+		/// <summary>
+		/// The default timeout for network requests.
+		/// </summary>
 		public TimeSpan RequestTimeout
 		{
-			get { return TimeSpan.FromMilliseconds(Timeout.Infinite); }
-			set {  }
+			get { return NMSConstants.defaultRequestTimeout; }
+			set { }
 		}
 
 		byte IMessageProducer.Priority
 		{
-			get { return 5; }
+			get { return NMSConstants.defaultPriority; }
 			set {  }
 		}
 



Mime
View raw message