Skip to content
Permalink
Browse files
  • Loading branch information
Timothy A. Bish committed Aug 31, 2010
1 parent 6c4bae6 commit 60caa2ce3b912763611230e348e7265858d7a440
Showing 3 changed files with 4 additions and 4 deletions.
@@ -49,7 +49,7 @@ public class Connection : IConnection
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 @@ public ISession CreateSession(AcknowledgementMode sessionAcknowledgementMode)

session.ConsumerTransformer = this.ConsumerTransformer;
session.ProducerTransformer = this.ProducerTransformer;

if(IsStarted)
{
session.Start();
@@ -35,7 +35,7 @@ public class MessageProducer : IMessageProducer
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;
@@ -54,7 +54,7 @@ public class Session : ISession, IDispatcher
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)

0 comments on commit 60caa2c

Please sign in to comment.