[
https://issues.apache.org/activemq/browse/CAMEL-201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=42488#action_42488
]
Claus Ibsen commented on CAMEL-201:
-----------------------------------
Johathan. The patch looks great. Only two issues with the ident of the code.
One @override was not idented properly. And one method parameter was on a new
line instead of singleline. Just nitpicking.
Would love to have it documented on the wiki that we got this new transform DSL
now.
And we should remember to add it to the release notes that setOutBody() is
depreacted and replaced with transform()
And since setOutBody() is to be replaced with transform. Could we have a unit
test that verifies a setOutBody() test that is done by transform render the
same OUT body?
> allow expressions such as XQuery to be used as a transformer
> ------------------------------------------------------------
>
> Key: CAMEL-201
> URL: https://issues.apache.org/activemq/browse/CAMEL-201
> Project: Apache Camel
> Issue Type: Improvement
> Components: camel-core
> Reporter: James Strachan
> Assignee: Jonathan Anstey
> Fix For: 1.4.0
>
> Attachments: camel-201.patch
>
>
> e.g.
> {code}
> <route>
> <from uri="activemq:Foo.Bar"/>
> <transform>
> <xquery>....</xquery>
> </transform>
> </route>
> {code}
> This basically means renaming the DSL's setOutBody() to be
> transform(Expression)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.