[
https://issues.apache.org/activemq/browse/CAMEL-1206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=48363#action_48363
]
davsclaus edited comment on CAMEL-1206 at 12/29/08 1:58 AM:
--------------------------------------------------------------
See nabble:
http://www.nabble.com/Splitter-in-XML-td21196027s22882.html
We need the expression builder methods in the Spring DSL so end users can use
it directly
This Java DSL
{code:java}
from("seda:a").splitter(bodyAs(String.class).tokenize("\n")).to("seda:b");
{code}
To be done in Spring DSL something like this:
{code:xml}
<from uri="seda:a"/>
<split>
<expression>
<conertBodyTo type="java.lang.String"/>
<tokenize delimiter="\n"/>
</expression>
<to uri="seda:b"/>
</split>
{code}
was (Author: davsclaus):
See nabble:
http://www.nabble.com/Splitter-in-XML-td21196027s22882.html
We need the expression builder methods in the Spring DSL so end users can use
it directly
Something like this:
{code:xml}
<from uri="seda:a"/>
<split>
<expression>
<conertBodyTo type="java.lang.String"/>
<tokenize delimiter="\n"/>
</expression>
<to uri="seda:b"/>
</split>
{code}
> ExpressionBuilder methods should be exposed in Spring DSL
> ---------------------------------------------------------
>
> Key: CAMEL-1206
> URL: https://issues.apache.org/activemq/browse/CAMEL-1206
> Project: Apache Camel
> Issue Type: Sub-task
> Reporter: Claus Ibsen
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.