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

camel-core: more flexible route loader

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.9.0
    • camel-core
    • None
    • Unknown

    Description

      As today we can add files as "classpath:camel/*.xml" and camel picks them up but we should make it more flexible like collecting/discovering all the beans/service of type "RouteBuilderManager" (name is just an hint) and delegate the loading of the routes (and eventually theirs reload) to such managers.

      By default we'll provide the one to load the Java/XML but developer can add custom loaders so that routs can be load from yaml, json, scripting languages etc. and they can also have theirs custom logic to reload a route.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              lb Luca Burgazzoli
              Votes:
              3 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: