Chad Durovec created CAMEL-9236:
-----------------------------------
Summary: Tokenize with regex grouping has a small bug
Key: CAMEL-9236
URL: https://issues.apache.org/jira/browse/CAMEL-9236
Project: Camel
Issue Type: Bug
Components: camel-core
Affects Versions: 2.16.0, 2.15.3, 2.15.2, 2.15.1, 2.15.0
Reporter: Chad Durovec
Priority: Minor
Fix For: Future
Looks like a copy/paste error is preventing the grouping functionality from
being executed by the helper object.
group should be passed to the delegate's tokenize method.
camel-core/src/main/java/org/apache/camel/builder/ExpressionClause.java
/**
* Evaluates a token expression on the message body
*
* @param token the token
* @param regex whether the token is a regular expression or not
* @param group to group by the given number
* @return the builder to continue processing the DSL
*/
public T tokenize(String token, boolean regex, int group) {
return delegate.tokenize(token, regex);
}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)