Camel
  1. Camel
  2. CAMEL-5236

Make it easy to use the splitter to split files by a number of lines into groups

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.10.0
    • Component/s: camel-core
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      Currently you can use the splitter and the tokenize langue to split on a line by line basis.

      We should add a way so you can say that you want to group that into X number of lines, so people can split files into smaller chunks to work with.
      Currently they would need to write their own expression to return the chunks.

      We could support configuring

      • number of lines
      • number of bytes

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        4h 4m 1 Claus Ibsen 01/May/12 14:38
        Hide
        Claus Ibsen added a comment -

        Use the mailing list / user forum to ask questions

        Show
        Claus Ibsen added a comment - Use the mailing list / user forum to ask questions
        Hide
        Carsten Ringe added a comment -

        Is there any way to set the group option via properties? I want to use my property placeholder to make the split size configurable.

        Show
        Carsten Ringe added a comment - Is there any way to set the group option via properties? I want to use my property placeholder to make the split size configurable.
        Claus Ibsen made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Claus Ibsen [ davsclaus ]
        Resolution Fixed [ 1 ]
        Hide
        Claus Ibsen added a comment -

        There is now a group option on the tokenizer

        Show
        Claus Ibsen added a comment - There is now a group option on the tokenizer
        Claus Ibsen created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development