You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@activemq.apache.org by GitBox <gi...@apache.org> on 2021/03/05 22:37:48 UTC

[GitHub] [activemq-artemis] erwindon opened a new pull request #3478: use the parameter-name "ttl" that matches the value in documentation for REST

erwindon opened a new pull request #3478:
URL: https://github.com/apache/activemq-artemis/pull/3478


   The documentation says:
   ```
   You can set the time to live, expiration, and/or the priority of the
   message in the queue or topic by setting an additional query parameter.
   The `expiration` query parameter is a long specifying the time in
   milliseconds since epoch (a long date). The `ttl` query parameter is a
   time in milliseconds you want the message active. The `priority` is
   another query parameter with an integer value between 0 and 9 expressing
   the priority of the message. i.e.:
   ```
   
   but the code just below it uses parameter `expiration=30000`. `30000` is more a ttl than an absolute time. So, I assume that parametername `ttl` was intended.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [activemq-artemis] jbertram commented on pull request #3478: use the parameter-name "ttl" that matches the value in documentation for REST

Posted by GitBox <gi...@apache.org>.
jbertram commented on pull request #3478:
URL: https://github.com/apache/activemq-artemis/pull/3478#issuecomment-794139427


   Thanks, @erwindon!


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [activemq-artemis] asfgit closed pull request #3478: use the parameter-name "ttl" that matches the value in documentation for REST

Posted by GitBox <gi...@apache.org>.
asfgit closed pull request #3478:
URL: https://github.com/apache/activemq-artemis/pull/3478


   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org