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/01/07 16:45:47 UTC

svn commit: r896905 - /activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Session.cs

Author: tabish
Date: Thu Jan  7 15:43:44 2010
New Revision: 896905

URL: http://svn.apache.org/viewvc?rev=896905&view=rev
Log:
Set the Session's Ack mode on the ConsumerInfo so that the StompWireFormat class can create a properly configured subscribe command.

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

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=896905&r1=896904&r2=896905&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 Thu Jan  7 15:43:44 2010
@@ -650,6 +650,7 @@
             answer.DispatchAsync = this.DispatchAsync;
             answer.Retroactive = this.Retroactive;
             answer.MaximumPendingMessageLimit = this.connection.PrefetchPolicy.MaximumPendingMessageLimit;
+            answer.AckMode = this.AcknowledgementMode;
 
             if(destination is ITopic || destination is ITemporaryTopic)
             {