OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

amqp message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: [OASIS Issue Tracker] (AMQP-133) Clarify difference between message property "absolute-expiry-time" and message header "ttl"

    [ https://issues.oasis-open.org/browse/AMQP-133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=66916#comment-66916 ] 

Lorenz Quack commented on AMQP-133:

From an IRC conversation between myself and [~rgodfrey] (with some slight editing for clarity):

<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

> Clarify difference between message property "absolute-expiry-time" and message header "ttl"
> -------------------------------------------------------------------------------------------
>                 Key: AMQP-133
>                 URL: https://issues.oasis-open.org/browse/AMQP-133
>             Project: OASIS Advanced Message Queuing Protocol (AMQP) TC
>          Issue Type: Improvement
>          Components: Messaging
>    Affects Versions: OS
>            Reporter: Lorenz Quack
>              Labels: Clarification
> At first glance the message property "absolute-expiry-time" and the message header "ttl" seem to duplicate the same information.
> At second glance "ttl" states that "will be discarded (or dead lettered)" whereas "absolute-expiry-time" does not state this.
> I think it would be beneficial if their difference/relationship could be clarified.

This message was sent by Atlassian JIRA

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]