activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
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 GMT
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
     /// </summary>
     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()
         {



Mime
View raw message