You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by jg...@apache.org on 2008/08/05 20:06:04 UTC
svn commit: r682844 -
/activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/Session.cs
Author: jgomes
Date: Tue Aug 5 11:06:04 2008
New Revision: 682844
URL: http://svn.apache.org/viewvc?rev=682844&view=rev
Log:
Add ISession.DeleteDurableConsumer().
Fixes [AMQNET-99]. (See https://issues.apache.org/activemq/browse/AMQNET-99)
Modified:
activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/Session.cs
Modified: activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/Session.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/Session.cs?rev=682844&r1=682843&r2=682844&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/Session.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/Session.cs Tue Aug 5 11:06:04 2008
@@ -109,6 +109,11 @@
return CreateDurableConsumer(destination, name, selector, noLocal);
}
+ public void DeleteDurableConsumer(string name)
+ {
+ this.tibcoSession.Unsubscribe(name);
+ }
+
public Apache.NMS.IQueue GetQueue(string name)
{
return EMSConvert.ToNMSQueue(this.tibcoSession.CreateQueue(name));