The TimeStampPlugin is a Broker interceptor which updates a JMS Client's timestamp on the message with a broker timestamp.
This can be useful when the clocks on client machines are known to not be correct and you can only trust the time set on the broker machines.

Enabling this plugin will break JMS compliance since the timestamp that the producer sees on the messages after as send() will be different from the
timestamp the consumer will observe when he receives the message. This plugin is not enabled in the default ActiveMQ configuration.

Configuration:

Attribute Description Default Value
zeroExpirationOverride When not zero will override the expiration date for messages that currently do not have an expiration set 0
ttlCeiling When not zero will limit the expiration time 0
futureOnly If true, will not update the timestamp of messages to past values false

You can include the TimeStampPlugin by adding the following to your ActiveMQ Broker configuration:

<plugins>
        <timeStampingBrokerPlugin/>
</plugins>
Graphic Design By Hiram