Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-5803

Scala DSL splitter does not support tokenizeXML

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.10.2
    • 2.10.3, 2.11.0
    • camel-scala
    • None
    • Unknown

    Description

      The Scala DSL does not properly support the splitter for tokenize and tokenizeXML. The DSL should be modified to allow this:

      from("direct:a").split().tokenizeXML("order").parallelProcessing().streaming().to("direct:test")
      

      or this:

      from("direct:a").split().tokenize("\n").parallelProcessing().streaming().to("direct:test")
      

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            jasonchaffee Jason Chaffee
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: