You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Charles Moulliard (JIRA)" <ji...@apache.org> on 2016/07/11 13:45:11 UTC
[jira] [Updated] (CAMEL-10136) Missing Group attribute for Token
DSL
[ https://issues.apache.org/jira/browse/CAMEL-10136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Charles Moulliard updated CAMEL-10136:
--------------------------------------
Description:
The option group ("<tokenize token="\n" group="1000"/>",".tokenize("\n", 1000)") doesn't exist when using the Token DSL but only when we create a TokenExpression
{code}
TokenizerExpression token = new TokenizerExpression();
token.setGroup(1000);
token.setToken("\n");
{code}
Either the code is incomplete or the Camel Doc (See Splitting by Grouping N lines) - http://camel.apache.org/splitter.html
was:
The option group ("<tokenize token="\n" group="1000"/>",".tokenize("\n", 1000)") doesn't exist when using the Token DSL but only when we create a TokenExpression
{code}
TokenizerExpression token = new TokenizerExpression();
token.setGroup(1000);
token.setToken("\n");
{coee}
Either the code is incomplete or the Camel Doc (See Splitting by Grouping N lines) - http://camel.apache.org/splitter.html
> Missing Group attribute for Token DSL
> -------------------------------------
>
> Key: CAMEL-10136
> URL: https://issues.apache.org/jira/browse/CAMEL-10136
> Project: Camel
> Issue Type: Bug
> Affects Versions: 2.15.6, 2.16.3, 2.17.1
> Reporter: Charles Moulliard
>
> The option group ("<tokenize token="\n" group="1000"/>",".tokenize("\n", 1000)") doesn't exist when using the Token DSL but only when we create a TokenExpression
> {code}
> TokenizerExpression token = new TokenizerExpression();
> token.setGroup(1000);
> token.setToken("\n");
> {code}
> Either the code is incomplete or the Camel Doc (See Splitting by Grouping N lines) - http://camel.apache.org/splitter.html
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)