Skip to content

Commit fb6c534

Browse files
author
Matthew Sackman
committed
Should start the totalMsgCount at 1 on the producer otherwise with *any* -m value we'll always commit after publishing the first message
1 parent d3c3302 commit fb6c534

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ public void run() {
236236
long now;
237237
now = startTime = lastStatsTime = System.currentTimeMillis();
238238
msgCount = 0;
239-
int totalMsgCount = 0;
239+
int totalMsgCount = 1;
240240

241241
try {
242242

0 commit comments

Comments
 (0)