Arsnael commented on a change in pull request #841:
URL: https://github.com/apache/james-project/pull/841#discussion_r783818696



##########
File path: 
backends-common/rabbitmq/src/main/java/org/apache/james/backends/rabbitmq/QueueArguments.java
##########
@@ -31,7 +31,7 @@ public Builder deadLetter(String deadLetterQueueName) {
         }
 
         public Builder queueTTL(long queueTTL) {
-            arguments.put("x-expires", queueTTL);
+            arguments.put("x-message-ttl", queueTTL);

Review comment:
       I think you misunderstood here. We want to put a TTL on the queue, not 
on the messages in the queue :) Thus your added test at the end does not make 
sense as well in the context that we want




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to