camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Charles Moulliard (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAMEL-10136) Missing Group attribute for Token DSL
Date Mon, 11 Jul 2016 13:45:11 GMT

     [ 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)

Mime
View raw message