activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jgo...@apache.org
Subject svn commit: r700915 - in /activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp: MessageProducer.cs Transport/Tcp/TcpTransport.cs Transport/Tcp/TcpTransportFactory.cs
Date Wed, 01 Oct 2008 20:54:23 GMT
Author: jgomes
Date: Wed Oct  1 13:54:23 2008
New Revision: 700915

URL: http://svn.apache.org/viewvc?rev=700915&view=rev
Log:
Fix .NET 1.1 build.

Modified:
    activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/MessageProducer.cs
    activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Transport/Tcp/TcpTransport.cs
    activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Transport/Tcp/TcpTransportFactory.cs

Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/MessageProducer.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/MessageProducer.cs?rev=700915&r1=700914&r2=700915&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/MessageProducer.cs
(original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/MessageProducer.cs
Wed Oct  1 13:54:23 2008
@@ -32,7 +32,7 @@
 		private long messageCounter = 0;
 
 		private bool msgPersistent = NMSConstants.defaultPersistence;
-		private TimeSpan requestTimeout;
+		private TimeSpan requestTimeout = NMSConstants.defaultRequestTimeout;
 		private TimeSpan msgTimeToLive = NMSConstants.defaultTimeToLive;
 		private byte msgPriority = NMSConstants.defaultPriority;
 		private bool disableMessageID = false;

Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Transport/Tcp/TcpTransport.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Transport/Tcp/TcpTransport.cs?rev=700915&r1=700914&r2=700915&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Transport/Tcp/TcpTransport.cs
(original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Transport/Tcp/TcpTransport.cs
Wed Oct  1 13:54:23 2008
@@ -160,7 +160,7 @@
 
 		public bool TcpNoDelayEnabled
 		{
-#if !NETCF
+#if !NETCF && !NET_1_1
 			get { return this.socket.NoDelay; }
 			set { this.socket.NoDelay = value; }
 #else

Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Transport/Tcp/TcpTransportFactory.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Transport/Tcp/TcpTransportFactory.cs?rev=700915&r1=700914&r2=700915&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Transport/Tcp/TcpTransportFactory.cs
(original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Transport/Tcp/TcpTransportFactory.cs
Wed Oct  1 13:54:23 2008
@@ -114,7 +114,7 @@
 			Tracer.Debug("Opening socket to: " + location.Host + " on port: " + location.Port);
 			Socket socket = Connect(location.Host, location.Port);
 
-#if !NETCF
+#if !NETCF && !NET_1_1
 			socket.ReceiveBufferSize = ReceiveBufferSize;
 			socket.SendBufferSize = SendBufferSize;
 			socket.ReceiveTimeout = ReceiveTimeout;



Mime
View raw message