Details
Description
Similar to CAMEL-8361, but for generating java source code fluent builder, so people can configured components and endpoints in a nicer style.
Endpoint file = FileEndpointBuilder.directory("somepath").recursive(true).includes("*.txt").build(); ...
Though there is a few tasks to figure out.
We would need some template as skeleton for generating the source code. And we would need a naming convention for the class name. And also we should allow each builder method to have 2 options. As its original type, eg String, boolean, int, etc. And then an alternative that uses a String so people can use property placeholders, eg "foo".
And besides endpoints we should also generate for components as well, so its easier to configure them.
Attachments
Issue Links
- duplicates
-
CAMEL-13314 Add a fluent DSL for components and endpoints
- Resolved
-
CAMEL-7779 Endpoint URI builder for Java RouteBuilder DSL
- Resolved
- is duplicated by
-
CAMEL-13314 Add a fluent DSL for components and endpoints
- Resolved
- is related to
-
CAMEL-8361 Camel Components - Generate per component XML schema
- Resolved
- relates to
-
CAMEL-7999 Camel Toolbox - Easy information about all Camel components and the release for tooling
- Resolved
-
CAMEL-7779 Endpoint URI builder for Java RouteBuilder DSL
- Resolved