[
https://issues.apache.org/jira/browse/CAMEL-17675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17623608#comment-17623608
]
Joe Siponen commented on CAMEL-17675:
-------------------------------------
The documentation for REST DSL led me to believe there was a way to embed
routes in the code example here:
[https://camel.apache.org/manual/rest-dsl.html#_defining_a_custom_error_message_as_is]
Try as I might I was not able to get that to work but it seems that the
documentation has to be fixed there as this capability does not exist anymore.
> Rest DSL - Removed inlined routes
> ---------------------------------
>
> Key: CAMEL-17675
> URL: https://issues.apache.org/jira/browse/CAMEL-17675
> Project: Camel
> Issue Type: Improvement
> Components: camel-core
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Major
> Fix For: 3.16.0
>
>
> In the Rest DSL you can inline a route but that was a mistake.
> I made a mistake when rest-dsl was created that you could embed a route
> inside it
> that is bad, instead its better as it was a facade to a route which you link
> via direct.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)