Skip to content

Commit 5d089cb

Browse files
author
Matthew Sackman
committed
Have the consumer comment apply to the consumer, and the publisher comment apply to the publisher
1 parent ec227a2 commit 5d089cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/src/com/rabbitmq/examples/ConfirmDontLoseMessages.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ public static void main(String[] args)
5959

6060
connectionFactory = new ConnectionFactory();
6161

62-
// Publish msgCount messages and wait for confirms.
63-
(new Thread(new Consumer())).start();
6462
// Consume msgCount messages.
63+
(new Thread(new Consumer())).start();
64+
// Publish msgCount messages and wait for confirms.
6565
(new Thread(new Publisher())).start();
6666
}
6767

0 commit comments

Comments
 (0)