[ 
https://issues.apache.org/activemq/browse/AMQ-1053?page=comments#action_37464 ] 
            
james strachan commented on AMQ-1053:
-------------------------------------

MessageTransformer interface is now in SVN along with an implementation, 
XStreamMessagegeTransformer in activemq-optional which can be used to turn 
ObjectMessages into XML on the bus.

See the XStreamTransformTest for an example of its use

> allow a MessageTransformer to be registered with a producer or consumer to 
> help transform a message going onto the bus or coming off the bus
> --------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AMQ-1053
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1053
>             Project: ActiveMQ
>          Issue Type: New Feature
>            Reporter: james strachan
>         Assigned To: james strachan
>             Fix For: 4.2.0
>
>
> For example a user may wish to use ObjectMessage in their code - but in 
> deployment use a TextMessage with XStream or JAXB as the marshalling.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to