activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r992135 - /activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Session.cs
Date Thu, 02 Sep 2010 22:32:05 GMT
Author: tabish
Date: Thu Sep  2 22:32:05 2010
New Revision: 992135

URL: http://svn.apache.org/viewvc?rev=992135&view=rev
Log:
Fix some of the error messages in the NotSupportedExceptions and add a throw in DeleteDestination
since Stomp can't do this.

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=992135&r1=992134&r2=992135&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 Sep  2
22:32:05 2010
@@ -479,12 +479,12 @@ namespace Apache.NMS.Stomp
 
         public IQueueBrowser CreateBrowser(IQueue queue)
         {
-            throw new NotSupportedException("Not Yet Implemented");
+            throw new NotSupportedException("Not supported with Stomp Protocol");
         }
 
         public IQueueBrowser CreateBrowser(IQueue queue, string selector)
         {
-            throw new NotSupportedException("Not Yet Implemented");
+            throw new NotSupportedException("Not supported with Stomp Protocol");
         }
 
         public IQueue GetQueue(string name)
@@ -514,7 +514,7 @@ namespace Apache.NMS.Stomp
         /// </summary>
         public void DeleteDestination(IDestination destination)
         {
-            // Not Possible with Stomp
+            throw new NotSupportedException("Stomp Cannot delete Destinations");
         }
 
         public IMessage CreateMessage()



Mime
View raw message