Skip to content

Commit 02973d4

Browse files
committed
Update for the recent ConsumerMain constructor change
1 parent b66d076 commit 02973d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ public static void runProducerConsumerTest(String hostName, int portNumber, int
195195
ProducerMain p = new ProducerMain(connp, 2000, 10000, false, commitEvery, true);
196196
new Thread(p).start();
197197
Connection connc = new ConnectionFactory().newConnection(hostName, portNumber);
198-
ConsumerMain c = new ConsumerMain(connc, false);
198+
ConsumerMain c = new ConsumerMain(connc, false, true);
199199
c.run();
200200
}
201201

0 commit comments

Comments
 (0)