Uploaded image for project: 'Fuse Tooling'
  1. Fuse Tooling
  2. FUSETOOLS-1247

Graphical Editor: Split grouping not supported

XMLWordPrintable

      There is no way to define a grouped split like below using the graphical editor because the token doesn't support group property. You can do that by editing the xml code, but grouping is not reflected on the tokenizer properties tab.

      <route>
        <from uri="file:inbox"/>
        <split streaming="true">
          <tokenize token="\n" group="1000"/>
          <to uri="activemq:queue:order"/>
        </split>
      </route
      

      In fact, the way to define it directly on source code looks as ugly as this...

      <tokenize token="\n" group="100">"\n"</tokenize>
      

      Where the element content ...>"\n"<... cheats the graphical editor, while the <tokenize token="\n" group="100"> does the real job...

            lheinema@redhat.com Lars Heinemann
            marmendo1@redhat.com Mario Mendoza (marmendo1)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: