[ https://issues.apache.org/jira/browse/QPID-7872?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16103089#comment-16103089 ]
Lorenz Quack commented on QPID-7872: ------------------------------------ >From an IRC conversation between myself and [~rgodfrey] (with some slight >editing for clarity): {quote} \[...\] <lorenz> May I ask for some AMQP 1.0 clarification regarding TTL and absolute-expiry-time? <lorenz> at first glance they seem to be completely redundant. <lorenz> but I have come to the opinion that maybe they are not and that we should only delete a message if it TTLed but not act on reaching the absolute-expiry-time <lorenz> can you shed some light on the intention here? <rgodfrey> absolute expiry time is a property of the message and is in essence contractual (I am stating that after midnight on 31st Dec 2017 this message is no longer valid) <rgodfrey> and is part of the signable bare message <rgodfrey> ttl is a hint to intermediaries that they can discard the message if the ttl drops to zero or below <rgodfrey> So the difference is really the audience <rgodfrey> ttl is aimed at the infrastructure <rgodfrey> absolute-expiry is aimed at the recipient <rgodfrey> So I would agree with you that you should only delete based on ttl <lorenz> so if we reach the absolute-expiry-time... should the broker discard the message? my opinion was "no". this is information for the receiving application <rgodfrey> I would agree {quote} > [Java Broker] [AMQP 1.0] Message expiry should be driven from ttl header only > ----------------------------------------------------------------------------- > > Key: QPID-7872 > URL: https://issues.apache.org/jira/browse/QPID-7872 > Project: Qpid > Issue Type: Bug > Components: Java Broker > Reporter: Alex Rudyy > Fix For: qpid-java-broker-7.0.0 > > > Java broker should only discard message with ttl header set if TTL expires > including 0 values. Ensure TTL is adjusted before sending the message. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org