thanks fot the prompt -
I think the TimestampingBrokerPlugin will help - it sets the timestamp
on the broker - see http://activemq.apache.org/timestampplugin.html
the src code is here:
http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/util/TimeStampingBrokerPlugin.java?view=markup
Hope that helps!
cheers,
Rob
On 17 Jan 2010, at 01:21, hackingbear wrote:
Hi,
It seems that a message gets its timestamp at the producer side. The
problem
is that one cannot expect a sender has its system clock synchronized
with
that of the servers; neither the users know how to run/turn on the
clock
sync services. The two consequences are
1) the time-to-live message sending would not work; the message may be
completely loss just because this.
2) there is no way to accurately monitor messaging performance on the
consumer side.
I tried to solve the second problem with a broker filter but get
into my old
problem:
http://old.nabble.com/How-to-set-message-property-in-broker-filter-to26362561.html
The first one, I have no idea how to solve, esp. per-message TTL
control.
--
View this message in context:
http://old.nabble.com/Message-timestamp-and-clock-synchronization-tp27195439p27195439.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Rob Davies
http://twitter.com/rajdavies
I work here: http://fusesource.com
My Blog: http://rajdavies.blogspot.com/
I'm writing this: http://www.manning.com/snyder/