You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by jg...@apache.org on 2008/08/26 19:31:34 UTC

svn commit: r689145 - /activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/Util/SessionUtils.cs

Author: jgomes
Date: Tue Aug 26 10:31:34 2008
New Revision: 689145

URL: http://svn.apache.org/viewvc?rev=689145&view=rev
Log:
Changed destination prefix specifiers from "queue:" to "queue://", "topic:" to "topic://", "temp-queue:" to "temp-queue://", and "temp-topic:" to "temp-topic://".
This makes the destination prefix specifier more consistent with ActiveMQ specifiers.

Modified:
    activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/Util/SessionUtils.cs

Modified: activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/Util/SessionUtils.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/Util/SessionUtils.cs?rev=689145&r1=689144&r2=689145&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/Util/SessionUtils.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/Util/SessionUtils.cs Tue Aug 26 10:31:34 2008
@@ -23,10 +23,10 @@
 	/// </summary>
 	public class SessionUtil
 	{
-		private static string QueuePrefix = "queue:";
-		private static string TopicPrefix = "topic:";
-		private static string TempQueuePrefix = "temp-queue:";
-		private static string TempTopicPrefix = "temp-topic:";
+		private static string QueuePrefix = "queue://";
+		private static string TopicPrefix = "topic://";
+		private static string TempQueuePrefix = "temp-queue://";
+		private static string TempTopicPrefix = "temp-topic://";
 
 		/// <summary>
 		/// Get the destination by parsing the embedded type prefix.  Default is Queue if no prefix is
@@ -35,10 +35,10 @@
 		/// <param name="session">Session object to use to get the destination.</param>
 		/// <param name="destinationName">Name of destination with embedded prefix.  The embedded prefix can be one of the following:
 		///		<list type="bullet">
-		///			<item>queue:</item>
-		///			<item>topic:</item>
-		///			<item>temp-queue:</item>
-		///			<item>temp-topic:</item>
+		///			<item>queue://</item>
+		///			<item>topic://</item>
+		///			<item>temp-queue://</item>
+		///			<item>temp-topic://</item>
 		///		</list>
 		///	</param>
 		/// <returns></returns>
@@ -53,10 +53,10 @@
 		/// <param name="session">Session object to use to get the destination.</param>
 		/// <param name="destinationName">Name of destination with embedded prefix.  The embedded prefix can be one of the following:
 		///		<list type="bullet">
-		///			<item>queue:</item>
-		///			<item>topic:</item>
-		///			<item>temp-queue:</item>
-		///			<item>temp-topic:</item>
+		///			<item>queue://</item>
+		///			<item>topic://</item>
+		///			<item>temp-queue://</item>
+		///			<item>temp-topic://</item>
 		///		</list>
 		///	</param>
 		/// <param name="defaultType">Default type if no embedded prefix is specified.</param>