You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Luca Burgazzoli (Jira)" <ji...@apache.org> on 2021/02/15 10:19:00 UTC

[jira] [Created] (CAMEL-16211) Revisit RoutesDefinition::route(RouteDefinition route)

Luca Burgazzoli created CAMEL-16211:
---------------------------------------

             Summary: Revisit RoutesDefinition::route(RouteDefinition route) 
                 Key: CAMEL-16211
                 URL: https://issues.apache.org/jira/browse/CAMEL-16211
             Project: Camel
          Issue Type: Improvement
          Components: camel-core-model
    Affects Versions: 3.8.0
            Reporter: Luca Burgazzoli


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)