You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2022/02/22 08:52:00 UTC
[jira] [Comment Edited] (CAMEL-17675) Rest DSL - Removed inlined routes
[ https://issues.apache.org/jira/browse/CAMEL-17675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17495958#comment-17495958 ]
Claus Ibsen edited comment on CAMEL-17675 at 2/22/22, 8:51 AM:
---------------------------------------------------------------
Yeah ideally the yaml-dsl would just be a something along:
{code}
-rest
get: /foo
to: direct:foo
{code}
was (Author: davsclaus):
Yeah ideally the yaml-dsl would just be a something along:
-rest
get: /foo
to: direct:foo
> 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.1#820001)