activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r924293 - in /activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp: ITemporaryQueue.cs ITemporaryTopic.cs
Date Wed, 17 Mar 2010 13:48:12 GMT
Author: tabish
Date: Wed Mar 17 13:48:12 2010
New Revision: 924293

URL: http://svn.apache.org/viewvc?rev=924293&view=rev
Log:
http://issues.apache.org/activemq/browse/AMQNET-244

Make these inherit from IQueue and ITopic and add the Delete method to the API.

Modified:
    activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/ITemporaryQueue.cs
    activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/ITemporaryTopic.cs

Modified: activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/ITemporaryQueue.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/ITemporaryQueue.cs?rev=924293&r1=924292&r2=924293&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/ITemporaryQueue.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/ITemporaryQueue.cs Wed Mar 17
13:48:12 2010
@@ -20,8 +20,18 @@ namespace Apache.NMS
 	/// Represents a temporary queue which exists for the duration 
 	/// of the IConnection which created it.
 	/// </summary>
-	public interface ITemporaryQueue : IDestination
+	public interface ITemporaryQueue : IQueue
 	{
+		/// <summary>
+		/// Deletes this Temporary Destination, If there are existing receivers 
+		/// still using it, a NMSException will be thrown.
+		/// </summary>
+        /// <exception cref="Apache.NMS.NMSException">
+        /// If NMS Provider fails to Delete the Temp Destination or the client does
+        /// not support this operation.
+        /// </exception>
+		void Delete();
+		
 	}
 }
 

Modified: activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/ITemporaryTopic.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/ITemporaryTopic.cs?rev=924293&r1=924292&r2=924293&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/ITemporaryTopic.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/ITemporaryTopic.cs Wed Mar 17
13:48:12 2010
@@ -20,8 +20,17 @@ namespace Apache.NMS
 	/// Represents a temporary topic which exists for the duration 
 	/// of the IConnection which created it.
 	/// </summary>
-	public interface ITemporaryTopic : IDestination
+	public interface ITemporaryTopic : ITopic
 	{
+		/// <summary>
+		/// Deletes this Temporary Destination, If there are existing receivers 
+		/// still using it, a NMSException will be thrown.
+		/// </summary>
+        /// <exception cref="Apache.NMS.NMSException">
+        /// If NMS Provider fails to Delete the Temp Destination or the client does
+        /// not support this operation.
+        /// </exception>
+		void Delete();		
 	}
 }
 



Mime
View raw message