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

Claus Ibsen commented on CAMEL-18057:
-------------------------------------

{code}
~/workspace ❯ camel get routes
  PID   NAME       ID            FROM                                    STATUS 
  AGE  COVER  MSG/S  TOTAL  FAIL  INFLIGHT  MEAN  MIN  MAX  SINCE-LAST
 95332  greetings  greeting-api  rest://get:/camel/:/greetings/%7Bname…  
Started   6s   0/1    0.00      0     0         0          0    0       -/-/-
 95332  greetings  route1        direct://greeting-api                   
Started   6s   0/2    0.00      0     0         0          0    0       -/-/-
~/workspace ❯ camel get routes
  PID   NAME       ID            FROM                                    STATUS 
  AGE  COVER  MSG/S  TOTAL  FAIL  INFLIGHT  MEAN  MIN  MAX  SINCE-LAST
 95377  greetings  greeting-api  rest://get:/camel/:/greetings/%7Bname…  
Started   2s   0/2    0.00      0     0         0          0    0       -/-/-
~/workspace ❯
{code}

Before and after inlining

> 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)

Reply via email to