You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2012/11/19 12:30:58 UTC
[jira] [Commented] (CAMEL-5803) Scala DSL splitter does not support
tokenizeXML
[ https://issues.apache.org/jira/browse/CAMEL-5803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13500160#comment-13500160 ]
Claus Ibsen commented on CAMEL-5803:
------------------------------------
I added support for using tokenizeXML as shown below
{code}
new RouteBuilder {
"direct:b" ==> {
split(tokenizeXML("person")) {
to("log:b")
to("mock:b")
}
}
}
{code}
> Scala DSL splitter does not support tokenizeXML
> -----------------------------------------------
>
> Key: CAMEL-5803
> URL: https://issues.apache.org/jira/browse/CAMEL-5803
> Project: Camel
> Issue Type: Improvement
> Components: camel-scala
> Affects Versions: 2.10.2
> Reporter: Jason Chaffee
> Priority: Minor
> Fix For: 2.10.3, 2.11.0
>
>
> The Scala DSL does not properly support the splitter for tokenize and tokenizeXML. The DSL should be modified to allow this:
> {code}
> from("direct:a").split().tokenizeXML("order").parallelProcessing().streaming().to("direct:test")
> {code}
> or this:
> {code}
> from("direct:a").split().tokenize("\n").parallelProcessing().streaming().to("direct:test")
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira