-
Bug
-
Resolution: Done
-
Major
-
7.2.2
-
Sprint 2
-
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...