activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrian Co (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AMQ-1208) XStream message transformer that works in both directions
Date Tue, 19 Jun 2007 02:37:34 GMT

    [ https://issues.apache.org/activemq/browse/AMQ-1208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_39448
] 

Adrian Co commented on AMQ-1208:
--------------------------------

Added here: http://svn.apache.org/viewvc?view=rev&rev=548562 

Details here:

MessageTransform - defines the type of transformation.
 If XML (default),
  - producer transformation transforms from Object to XML.
  - consumer transformation transforms from XML to Object.
 If OBJECT,
  - producer transformation transforms from XML to Object.
  - consumer transformation transforms from Object to XML.
 If ADAPTIVE,
  - producer transformation transforms from Object to XML, or XML to Object
    depending on the type of the original message
  - consumer transformation transforms from XML to Object, or Object to XML
    depending on the type of the original message

Let me know if there's any problem. :)

> XStream message transformer that works in both directions
> ---------------------------------------------------------
>
>                 Key: AMQ-1208
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1208
>             Project: ActiveMQ
>          Issue Type: New Feature
>    Affects Versions: incubation
>            Reporter: Dejan Bosanac
>            Assignee: Adrian Co
>            Priority: Minor
>             Fix For: 5.0.0
>
>         Attachments: XStreamMessageTransformer.java
>
>
> Enhanced transformer that could be configured to work in both directions. It contains
'reverse' property, which is false by default. In this case it works exactly as it is working
now. In case that it is true, it changes direction of transformation ... producer transforms
from text to object messages and consumers transforms form object to text ... I needed it
for use with the Rest API in order to intercept and transform messages submitted through POST
method.   

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message