[
https://issues.apache.org/jira/browse/CAMEL-16211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-16211.
---------------------------------
Fix Version/s: 3.9.0
Assignee: Claus Ibsen
Resolution: Fixed
Added some javadoc comment about this
> Revisit RoutesDefinition::route(RouteDefinition route)
> -------------------------------------------------------
>
> Key: CAMEL-16211
> URL: https://issues.apache.org/jira/browse/CAMEL-16211
> Project: Camel
> Issue Type: Task
> Components: camel-core-model
> Affects Versions: 3.8.0
> Reporter: Luca Burgazzoli
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 3.9.0
>
>
> From https://github.com/apache/camel/pull/5088#discussion_r576060177:
> That API is not really for end users, as that would mean they build those
> model classes outside the DSL and then take that model (which is a route) and
> add to a route (doesnt make so much sense). We should possibly mark in the
> javadoc that this is only for internal usage. And maybe come up with a
> different name, and deprecate the old name.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)