Hi, you can add timestamp plugin (http://activemq.apache.org/timestampplugin.html), which will sync the message with the broker's time.
Cheers -- Dejan Bosanac - http://twitter.com/dejanb Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Mon, Oct 25, 2010 at 7:04 AM, simevans <simev...@cisco.com> wrote: > > We are using activemq 5.3.2. We noticed our subscriber does not receive > messages when the clock on the subscriber is out by more that the timeToLive > that the producer. > For example, if the producer sends with a 2 minute time to live, and the > subscriber is on a machine where the clock is 2 minutes ahead, the > subscriber does not receive the message. If the clocks are put in sync the > subscriber receives the message ok. > Is this the expected behavior? > Is there a way to have the timeToLive work in a way that does not depend on > producer and subscriber clocks being in sync (since we don't have control > over the environnent clocks)? > Thanks > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/timeToLive-with-out-of-sync-clocks-tp3009739p3009739.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. >