activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jgo...@apache.org
Subject svn commit: r777299 - in /activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/test/csharp: TestMain.cs TestMainAsync.cs
Date Thu, 21 May 2009 22:36:57 GMT
Author: jgomes
Date: Thu May 21 22:36:56 2009
New Revision: 777299

URL: http://svn.apache.org/viewvc?rev=777299&view=rev
Log:
Moved snippet markup comments to encompass entire demo code.

Modified:
    activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/test/csharp/TestMain.cs
    activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/test/csharp/TestMainAsync.cs

Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/test/csharp/TestMain.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/test/csharp/TestMain.cs?rev=777299&r1=777298&r2=777299&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/test/csharp/TestMain.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/test/csharp/TestMain.cs Thu May
21 22:36:56 2009
@@ -15,6 +15,7 @@
  * limitations under the License.
  */
 
+// START SNIPPET: demo
 using System;
 using Apache.NMS;
 using Apache.NMS.Util;
@@ -27,7 +28,6 @@
 		{
 			try
 			{
-				// START SNIPPET: demo
 				Uri connecturi = new Uri("activemq:tcp://activemqhost:61616");
 				
 				Console.WriteLine("About to connect to " + connecturi);
@@ -76,7 +76,6 @@
 						}
 					}
 				}
-				// END SNIPPET: demo
 			}
 			catch(Exception e)
 			{
@@ -86,3 +85,4 @@
 		}
 	}
 }
+// END SNIPPET: demo

Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/test/csharp/TestMainAsync.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/test/csharp/TestMainAsync.cs?rev=777299&r1=777298&r2=777299&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/test/csharp/TestMainAsync.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/test/csharp/TestMainAsync.cs Thu
May 21 22:36:56 2009
@@ -15,6 +15,7 @@
  * limitations under the License.
  */
 
+// START SNIPPET: demo
 using System;
 using System.Threading;
 using Apache.NMS;
@@ -32,7 +33,6 @@
 		{
 			try
 			{
-				// START SNIPPET: demo
 				Uri connecturi = new Uri("activemq:tcp://activemqhost:61616");
 				
 				Console.WriteLine("About to connect to " + connecturi);
@@ -84,7 +84,6 @@
 						}
 					}
 				}
-				// END SNIPPET: demo
 			}
 			catch(Exception e)
 			{
@@ -100,3 +99,4 @@
 		}
 	}
 }
+// END SNIPPET: demo



Mime
View raw message