camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-5803) Scala DSL splitter does not support tokenizeXML
Date Mon, 19 Nov 2012 11:30:58 GMT

    [ 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

Mime
View raw message