camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <>
Subject [jira] [Commented] (CAMEL-8362) Camel Components - Generate per component Java fluent builder
Date Wed, 18 Feb 2015 09:15:11 GMT


Claus Ibsen commented on CAMEL-8362:

Roaster is a easy to use library to generate java source code

> Camel Components - Generate per component Java fluent builder
> -------------------------------------------------------------
>                 Key: CAMEL-8362
>                 URL:
>             Project: Camel
>          Issue Type: New Feature
>          Components: tooling
>            Reporter: Claus Ibsen
>             Fix For: 3.0.0
> Similar to CAMEL-8361, but for generating java source code fluent builder, so people
can configured components and endpoints in a nicer style.
> {code}
> Endpoint file ="somepath").recursive(true).includes("*.txt").build();
> ...
> {code}
> 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. 

This message was sent by Atlassian JIRA

View raw message