Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-16211

Revisit RoutesDefinition::route(RouteDefinition route)

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.8.0
    • 3.9.0
    • came-core
    • None
    • Unknown

    Description

      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.

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            lb Luca Burgazzoli
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: