activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "james strachan (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AMQ-1160) provide a way of setting the timeToLive from the point in time the message is received by the broker to avoid clock sync issues
Date Fri, 09 Feb 2007 11:56:03 GMT

    [ https://issues.apache.org/activemq/browse/AMQ-1160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_38491
] 

james strachan commented on AMQ-1160:
-------------------------------------

Yeah. I confess to not having my morning coffee before writing the above :)

A new header sounds to be the best idea

> provide a way of setting the timeToLive from the point in time the message is received
by the broker to avoid clock sync issues
> -------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AMQ-1160
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1160
>             Project: ActiveMQ
>          Issue Type: Improvement
>            Reporter: james strachan
>             Fix For: 4.3.0
>
>
> The JMS default is to use timeToLive relative to the client send; which means things
get converted to GMT and can suffer from clock sync issues.
> A useful alternative could be to set the timeToLive on a message relative to the broker's
clock when it receives it. That way there's no need to rely on a properly sync'd clock.
> So we could either 
> * use a new header - ActiveMQBrokerTimeToLive or something.
> * use a negative time to live value to indicate, its the time to live relative to the
broker (rather than relative to the client)
> Am wondering if the negative timeToLive value would break any existing software? (Currently
we tend to ignore any TTL values less than or equal to zero)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message