Description
For Java DSL then we have a language builder at org.apache.camel.builder.ExpressionClause
This class is very verbose as for Java DSL we have overloaded methods to set the various options, but it can get too far like tokenize with 12 methods.
Instead, we should propose a builder DSL class that the RouteBuilder can provide.
expression( expression() .tokenize() .token(bla bla) .regex(true) .end() )
Then we can still manually add a few methods for common use cases, so you can do .tokenize(bla bla, true).
Attachments
Issue Links
- fixes
-
CAMEL-18604 XpathRouteBuilder in Route Templates
- Resolved
- links to