You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "ncasaux (Jira)" <ji...@apache.org> on 2022/09/01 08:32:00 UTC

[jira] [Commented] (CAMEL-18057) rest-dsl - Combine rest and linked route together as single route

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

ncasaux commented on CAMEL-18057:
---------------------------------

Hello,

I think it would be usefull to be able to set the routeId of the REST route itself. In case we have a REST route which could call let's say 3 other routes, it would not make sense to regroup them in a single route, and in that case, setting the routeId of the REST route makes sense.

> rest-dsl - Combine rest and linked route together as single route
> -----------------------------------------------------------------
>
>                 Key: CAMEL-18057
>                 URL: https://issues.apache.org/jira/browse/CAMEL-18057
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 3.19.0
>
>
> rest-dsl and routes are separated today in the model. We can look at adding an option to rest-dsl that allows to combine them into a single route.
> This makes it easier for monitoring and tracing systems to deal with just 1 route instead of 2.
> In previous versions of Camel users could embed routes directly in rest-dsl, but its not possible anymore.
> However the intent is the same, they have an api and may want this as 1 route by Camel.



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