mirror of https://github.com/apache/activemq.git
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:
parent
4bf76c23ca
commit
72fb003975
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue