camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <>
Subject [jira] [Updated] (CAMEL-5803) Scala DSL splitter does not support tokenizeXML
Date Mon, 19 Nov 2012 10:54:58 GMT


Claus Ibsen updated CAMEL-5803:

      Priority: Major  (was: Blocker)
    Issue Type: Improvement  (was: Bug)

The Scala DSL is independent from Java DSL, and there will be constructs that are not 100%
identical between them.

The splitter ought to support a generic Expression, and for that you can use the TokenizeLanguage
from camel-core to create an expression that is like the Java DSL tokenizeXML.

> Scala DSL splitter does not support tokenizeXML
> -----------------------------------------------
>                 Key: CAMEL-5803
>                 URL:
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-scala
>    Affects Versions: 2.10.2
>            Reporter: Jason Chaffee
> 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:

View raw message