camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <>
Subject [jira] Commented: (CAMEL-201) allow expressions such as XQuery to be used as a transformer
Date Tue, 29 Apr 2008 04:54:43 GMT


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:
>             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.

View raw message