You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2010/08/31 16:42:16 UTC
svn commit: r991208 - in
/activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp:
Connection.cs MessageProducer.cs Session.cs
Author: tabish
Date: Tue Aug 31 14:42:16 2010
New Revision: 991208
URL: http://svn.apache.org/viewvc?rev=991208&view=rev
Log:
Apply same change for: https://issues.apache.org/activemq/browse/AMQNET-273
Modified:
activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Connection.cs
activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/MessageProducer.cs
activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Session.cs
Modified: activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Connection.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Connection.cs?rev=991208&r1=991207&r2=991208&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Connection.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Connection.cs Tue Aug 31 14:42:16 2010
@@ -49,7 +49,7 @@ namespace Apache.NMS.Stomp
private PrefetchPolicy prefetchPolicy = new PrefetchPolicy();
private bool userSpecifiedClientID;
- private TimeSpan requestTimeout = NMSConstants.defaultRequestTimeout;
+ private TimeSpan requestTimeout;
private readonly IList sessions = ArrayList.Synchronized(new ArrayList());
private readonly IDictionary dispatchers = Hashtable.Synchronized(new Hashtable());
private readonly object myLock = new object();
@@ -366,7 +366,7 @@ namespace Apache.NMS.Stomp
session.ConsumerTransformer = this.ConsumerTransformer;
session.ProducerTransformer = this.ProducerTransformer;
-
+
if(IsStarted)
{
session.Start();
Modified: activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/MessageProducer.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/MessageProducer.cs?rev=991208&r1=991207&r2=991208&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/MessageProducer.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/MessageProducer.cs Tue Aug 31 14:42:16 2010
@@ -35,7 +35,7 @@ namespace Apache.NMS.Stomp
private int producerSequenceId = 0;
private MsgDeliveryMode msgDeliveryMode = NMSConstants.defaultDeliveryMode;
- private TimeSpan requestTimeout = NMSConstants.defaultRequestTimeout;
+ private TimeSpan requestTimeout;
private TimeSpan msgTimeToLive = NMSConstants.defaultTimeToLive;
private MsgPriority msgPriority = NMSConstants.defaultPriority;
private bool disableMessageID = false;
Modified: activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Session.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Session.cs?rev=991208&r1=991207&r2=991208&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Session.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Session.cs Tue Aug 31 14:42:16 2010
@@ -54,7 +54,7 @@ namespace Apache.NMS.Stomp
private bool disposed = false;
private bool closed = false;
private bool closing = false;
- private TimeSpan requestTimeout = Apache.NMS.NMSConstants.defaultRequestTimeout;
+ private TimeSpan requestTimeout;
private AcknowledgementMode acknowledgementMode;
public Session(Connection connection, SessionInfo info, AcknowledgementMode acknowledgementMode, bool dispatchAsync)