Skip to content

Commit ad4d192

Browse files
author
Emile Joubert
committed
Undo
1 parent e4ad911 commit ad4d192

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

RabbitMQDotNetClient.sln

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
Microsoft Visual Studio Solution File, Format Version 10.00
2+
Microsoft Visual Studio Solution File, Format Version 9.00
33
# Visual Studio 2008
44
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "projects", "projects", "{068D7DC3-8E6E-4951-B9E3-272C641BF0DE}"
55
EndProject

projects/examples/client/SendString/src/examples/SendString.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ public static int Main(string[] args) {
6565
if (args.Length < 5) {
6666
Console.Error.WriteLine("Usage: SendString <hostname>[:<portnumber>] <exchange> <exchangetype> <routingkey> <message>");
6767
Console.Error.WriteLine("RabbitMQ .NET client version "+typeof(IModel).Assembly.GetName().Version.ToString());
68-
Console.ReadKey();
6968
return 2;
7069
}
7170

@@ -76,7 +75,6 @@ public static int Main(string[] args) {
7675
string message = args[4];
7776

7877
ConnectionFactory cf = new ConnectionFactory();
79-
//cf.Protocol = Protocols.AMQP_0_9_1;
8078
cf.Address = serverAddress;
8179

8280
using (IConnection conn = cf.CreateConnection())
@@ -90,8 +88,6 @@ public static int Main(string[] args) {
9088
routingKey,
9189
null,
9290
Encoding.UTF8.GetBytes(message));
93-
Console.WriteLine("published ok");
94-
Console.ReadKey();
9591
return 0;
9692
}
9793
}

0 commit comments

Comments
 (0)