[
https://issues.apache.org/jira/browse/CAMEL-25243?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-25243.
---------------------------------
Resolution: Fixed
> camel-jbang - source editor: Java DSL completion inside arguments (expression
> builders) and for the REST DSL
> ------------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-25243
> URL: https://issues.apache.org/jira/browse/CAMEL-25243
> Project: Camel
> Issue Type: Improvement
> Components: camel-jbang
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 4.23.0
>
>
> Follow-up of CAMEL-25241 (Java DSL route chain completion in the source
> editor of camel-jbang), for two of its listed limitations:
> * the expression builders inside the arguments: Tab after body().
> header("x"). simple(".."). in .split(..), .filter(..), .setBody(..)... offers
> the methods of the builder (tokenize, isEqualTo, convertTo,
> regexReplaceAll...), walked from the RouteBuilder method the expression
> starts with;
> * the REST DSL and the other chains that do not start with a route:
> rest("/api").get("/x").to(..), restConfiguration()., routeTemplate(..)., with
> the param()...endParam() and responseMessage() sub-builders.
> Same approach: read from the text so it works while the file does not parse,
> reflection over the model and builder classes, documentation from the catalog
> where it has it, and a recall check over the Java routes of the repo.
> _Claude Code on behalf of davsclaus_
--
This message was sent by Atlassian Jira
(v8.20.10#820010)