activemq-dev mailing list archives

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

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

Dejan Bosanac commented on AMQ-1208:
------------------------------------

> Though I hope you won't mind that I renamed the methods

Absolutely not :) It's much clearer this way.

> Don't know if its useful though or if makes any sense

Actually, I think it's a great idea. If we make it a default transformation, it could be used
without any additional configuration for both purposes. People could then restrict it to just
one way if they find it appropriate. But I'm not sure whether it could be a cause of misuse
and unexpected bugs?

If you need any assistance regarding this, please let me know. 

Dejan

> 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