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

rodrigo coelho commented on CAMEL-17675:
----------------------------------------

Hello all,

Any reason for the RestDefinition.to() not allowing String... ?

Before this change i was getting my routeDefinition from the 
restDefinition.route() and later on adding the to(), now i'm forced to set to() 
on restDefinition?

Can you explain me why?

 

Thanks.

Best,

Rodrigo

> 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.7#820007)

Reply via email to