Return-Path: Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: (qmail 1731 invoked from network); 5 Aug 2008 18:06:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Aug 2008 18:06:25 -0000 Received: (qmail 48086 invoked by uid 500); 5 Aug 2008 18:06:24 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 48032 invoked by uid 500); 5 Aug 2008 18:06:24 -0000 Mailing-List: contact commits-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list commits@activemq.apache.org Received: (qmail 48023 invoked by uid 99); 5 Aug 2008 18:06:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Aug 2008 11:06:24 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Aug 2008 18:05:37 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id B2C4E23889FF; Tue, 5 Aug 2008 11:06:04 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r682844 - /activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/Session.cs Date: Tue, 05 Aug 2008 18:06:04 -0000 To: commits@activemq.apache.org From: jgomes@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080805180604.B2C4E23889FF@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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));