Updated snippet comment

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@381309 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
James Strachan 2006-02-27 10:25:54 +00:00
parent 4bf76c23ca
commit 72fb003975
1 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ namespace openwire_dotnet
{ {
Console.WriteLine("About to connect to ActiveMQ"); Console.WriteLine("About to connect to ActiveMQ");
// START SNIPPET: example // START SNIPPET: demo
IConnectionFactory factory = new ConnectionFactory("localhost", 61616); IConnectionFactory factory = new ConnectionFactory("localhost", 61616);
using (IConnection connection = factory.CreateConnection()) using (IConnection connection = factory.CreateConnection())
{ {
@ -68,7 +68,7 @@ namespace openwire_dotnet
Console.WriteLine("Received message with text: " + message.Text); Console.WriteLine("Received message with text: " + message.Text);
} }
} }
// END SNIPPET: example // END SNIPPET: demo
} }
catch (Exception e) catch (Exception e)
{ {