activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r896905 - /activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Session.cs
Date Thu, 07 Jan 2010 15:45:47 GMT
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)
             {



Mime
View raw message