#include <src/main/activemq/util/ActiveMQMessageTransformation.h>
Constructor & Destructor Documentation
virtual activemq::util::ActiveMQMessageTransformation::~ActiveMQMessageTransformation |
( |
| ) |
|
|
virtual |
Member Function Documentation
Copies the standard CMS and user defined properties from the given message to the specified message.
- Parameters
-
fromMessage | The message to take the properties from. |
toMessage | The message to add the properties to. |
- Exceptions
-
CMSException | if an error occurs during the copy. |
Creates a fast shallow copy of the current ActiveMQDestination or creates a whole new destination instance from an available CMS destination from another provider.
This method will return true if the passed CMS Destination was cloned and a new Destination object created or false if the input Destination was already an ActiveMQ destination. The should use the return value as a hint to determine if it needs to delete the amqDestinatio object or not.
- Parameters
-
destination | Destination to be converted into ActiveMQ's implementation. |
amqDestination | Pointer to a pointer where the casted or cloned AMQ destination is stored. |
- Returns
- true if the amqDestination is a new instance and not just a cast of the input destination.
- Exceptions
-
CMSException | if an error occurs |
Creates a fast shallow copy of the current ActiveMQMessage or creates a whole new message instance from an available CMS message from another provider.
This method will return true if the passed CMS Message was cloned and a new ActiveMQMessage object created or false if the input Message was already an ActiveMQMessage instance. The caller should use the return value as a hint to determine if it needs to delete the resulting ActiveMQMessage object or not.
- Parameters
-
message | CMS Message to be converted into ActiveMQ's implementation. |
amqMessage | Pointer to a pointer where the casted or cloned AMQ message is stored. |
- Returns
- true if the amqMessage is a new instance and not just a cast of the input message.
- Exceptions
-
CMSException | if an error occurs |
The documentation for this class was generated from the following file: