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

Missing Group attribute for Tokenize DSL added to the Body Expression

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.17.3, 2.18.0
    • Component/s: None
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      The option group ("<tokenize token="\n" group="1000"/>",".tokenize("\n", 1000)") doesn't exist when we use the Tokenize DSL after a body expression

      .split(body(String.class).tokenize("\n")).streaming()
      

      but only when we create append the .tokenize() DSL to the splitter

      .split().tokenize("\n",3).streaming()
      

      Question : Is it the expected behaviour or something missing ?

        Attachments

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              cmoulliard Charles Moulliard
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: