|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.activemq.broker.MutableBrokerFilter
org.apache.activemq.broker.BrokerPluginSupport
org.apache.activemq.broker.util.TimeStampingBrokerPlugin
public class TimeStampingBrokerPlugin
A Broker interceptor which updates a JMS Client's timestamp on the message with a broker timestamp. 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.
Constructor Summary | |
---|---|
TimeStampingBrokerPlugin()
|
Method Summary | |
---|---|
void |
send(ConnectionContext context,
Message message)
Send a message to the broker to using the specified destination. |
Methods inherited from class org.apache.activemq.broker.BrokerPluginSupport |
---|
installPlugin |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TimeStampingBrokerPlugin()
Method Detail |
---|
public void send(ConnectionContext context, Message message) throws java.lang.Exception
Region
send
in interface Region
send
in class MutableBrokerFilter
context
- the environment the operation is being executed under.
java.lang.Exception
- TODO
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |