[ 
https://issues.apache.org/jira/browse/CAMEL-20466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17850909#comment-17850909
 ] 

Tuomas Palenius commented on CAMEL-20466:
-----------------------------------------

[~davsclaus] As an improvement for the change process we suggest to always 
check that the Camel's documentation is also updated.

We had an issue and RCA pointed into this change.

* The change, that `inlineRoutes` is now `true` by default, is not documented 
on Camel's REST DSL -page. This will *probably* cause problems for others as 
well.

* When a route that is implicitly inlined by this option, is called by other 
route, it is not found by Camel, which could take some time to figure out what 
causes this.

Perhaps there could be some analysis by Camel to check if there are any 
producers trying to call a route that was inlined, and rise an error in this 
case?

As a defense mechanism against implicit working of this inlineRoutes -option we 
will set it as explicitly false for each restConfiguration.

> camel-core - Rest DSL to be inlined by default to avoid clutter up list of 
> routes
> ---------------------------------------------------------------------------------
>
>                 Key: CAMEL-20466
>                 URL: https://issues.apache.org/jira/browse/CAMEL-20466
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core, rest
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 4.5.0
>
>
> When using rest-dsl you have 1 route per rest verb (GET, POST etc) and then 
> another route that it typically call via direct.
> There is an inlined = true option you can use to make this a single route. We 
> should make this the default.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to