Return-Path: Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: (qmail 50223 invoked from network); 17 Mar 2010 13:49:21 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 17 Mar 2010 13:49:21 -0000 Received: (qmail 41794 invoked by uid 500); 17 Mar 2010 13:49:21 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 41761 invoked by uid 500); 17 Mar 2010 13:49:21 -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 41754 invoked by uid 99); 17 Mar 2010 13:49:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Mar 2010 13:49:21 +0000 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; Wed, 17 Mar 2010 13:49:18 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 59C15238890D; Wed, 17 Mar 2010 13:48:57 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r924294 - in /activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands: TempDestination.cs TempQueue.cs TempTopic.cs Date: Wed, 17 Mar 2010 13:48:57 -0000 To: commits@activemq.apache.org From: tabish@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100317134857.59C15238890D@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: tabish Date: Wed Mar 17 13:48:56 2010 New Revision: 924294 URL: http://svn.apache.org/viewvc?rev=924294&view=rev Log: http://issues.apache.org/activemq/browse/AMQNET-244 Update the STOMP commands to match the changes in the NMS API. Modified: activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/TempDestination.cs activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/TempQueue.cs activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/TempTopic.cs Modified: activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/TempDestination.cs URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/TempDestination.cs?rev=924294&r1=924293&r2=924294&view=diff ============================================================================== --- activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/TempDestination.cs (original) +++ activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/TempDestination.cs Wed Mar 17 13:48:56 2010 @@ -79,6 +79,10 @@ namespace Apache.NMS.Stomp.Commands return o; } + public void Delete() + { + throw new NotSupportedException("Stomp Cannot Delete Temporary Destinations"); + } } } Modified: activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/TempQueue.cs URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/TempQueue.cs?rev=924294&r1=924293&r2=924294&view=diff ============================================================================== --- activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/TempQueue.cs (original) +++ activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/TempQueue.cs Wed Mar 17 13:48:56 2010 @@ -41,6 +41,11 @@ namespace Apache.NMS.Stomp.Commands } } + public String QueueName + { + get { return PhysicalName; } + } + public String GetQueueName() { return PhysicalName; Modified: activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/TempTopic.cs URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/TempTopic.cs?rev=924294&r1=924293&r2=924294&view=diff ============================================================================== --- activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/TempTopic.cs (original) +++ activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/TempTopic.cs Wed Mar 17 13:48:56 2010 @@ -24,24 +24,23 @@ namespace Apache.NMS.Stomp.Commands /// public class TempTopic : TempDestination, ITemporaryTopic { - public TempTopic() - : base() + public TempTopic() : base() { } - public TempTopic(String name) - : base(name) + public TempTopic(String name) : base(name) { } override public DestinationType DestinationType { - get - { - return DestinationType.TemporaryTopic; - } + get { return DestinationType.TemporaryTopic; } } + public String TopicName + { + get { return PhysicalName; } + } public String GetTopicName() {