Skip to content

Commit 4fdd51a

Browse files
author
Simon MacMullen
committed
Fix mistake.
1 parent fd9e48c commit 4fdd51a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/src/com/rabbitmq/client/test/functional/DeadLetterExchange.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ private void declareQueue(String queue, Object deadLetterExchange,
333333
}
334334

335335
if (ttl > 0){
336-
args.put("x-message-ttl", 1);
336+
args.put("x-message-ttl", ttl);
337337
}
338338

339339
args.put(DLX_ARG, deadLetterExchange);

0 commit comments

Comments
 (0)