Used the base ActiveMQMessage class to intercept calls to get and set properties in order to capture the calls that use the reserved JMS properties and get and set them in the OpenWire Message properties.
More...
Public Member Functions |
| MessagePropertyInterceptor (commands::Message *message, util::PrimitiveMap *properties) |
| Constructor, accepts the Message that will be used to store JMS reserved property values, and the PrimitiveMap to get and set the rest to.
|
virtual | ~MessagePropertyInterceptor () |
virtual bool | getBooleanProperty (const std::string &name) const |
| Gets a boolean property.
|
virtual unsigned char | getByteProperty (const std::string &name) const |
| Gets a byte property.
|
virtual double | getDoubleProperty (const std::string &name) const |
| Gets a double property.
|
virtual float | getFloatProperty (const std::string &name) const |
| Gets a float property.
|
virtual int | getIntProperty (const std::string &name) const |
| Gets a int property.
|
virtual long long | getLongProperty (const std::string &name) const |
| Gets a long property.
|
virtual short | getShortProperty (const std::string &name) const |
| Gets a short property.
|
virtual std::string | getStringProperty (const std::string &name) const |
| Gets a string property.
|
virtual void | setBooleanProperty (const std::string &name, bool value) |
| Sets a boolean property.
|
virtual void | setByteProperty (const std::string &name, unsigned char value) |
| Sets a byte property.
|
virtual void | setDoubleProperty (const std::string &name, double value) |
| Sets a double property.
|
virtual void | setFloatProperty (const std::string &name, float value) |
| Sets a float property.
|
virtual void | setIntProperty (const std::string &name, int value) |
| Sets a int property.
|
virtual void | setLongProperty (const std::string &name, long long value) |
| Sets a long property.
|
virtual void | setShortProperty (const std::string &name, short value) |
| Sets a short property.
|
virtual void | setStringProperty (const std::string &name, const std::string &value) |
| Sets a string property.
|
Used the base ActiveMQMessage class to intercept calls to get and set properties in order to capture the calls that use the reserved JMS properties and get and set them in the OpenWire Message properties.
Currently the only properties that are intercepted and handled are:
Name | Conversion Supported
JMSXDeliveryCount | Int, Long, String JMSXGroupID | String JMSXGroupSeq | Int, Long, String