org.apache.activemq
Class MessageTransformerSupport
java.lang.Object
org.apache.activemq.MessageTransformerSupport
- All Implemented Interfaces:
- MessageTransformer
public abstract class MessageTransformerSupport
- extends Object
- implements MessageTransformer
A useful base class for message transformers.
|
Method Summary |
protected void |
copyProperties(javax.jms.Message fromMessage,
javax.jms.Message toMesage)
Copies the standard JMS and user defined properties from the givem message to the specified message |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MessageTransformerSupport
public MessageTransformerSupport()
copyProperties
protected void copyProperties(javax.jms.Message fromMessage,
javax.jms.Message toMesage)
throws javax.jms.JMSException
- Copies the standard JMS and user defined properties from the givem message to the specified message
- Parameters:
fromMessage - the message to take the properties fromtoMesage - the message to add the properties to
- Throws:
javax.jms.JMSException
Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.