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

xml-io-dsl: Allow routes to use beans loaded directly from source

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.0.0
    • camel-jbang
    • None
    • Unknown

    Description

      With CAMEL-18189 we can now use <bean> elements in XMLs with top-level <camel> (or <beans>) elements.

      However it is not possible to load classes which come from *.java files passed to camel run because xml-io-dsl registers beans eagerly in org.apache.camel.spi.RoutesBuilderLoader#preParseRoute().

      I have a PR which delays instantiation of such beans till when they're available.

      Attachments

        Issue Links

          Activity

            People

              ggrzybek Grzegorz Grzybek
              ggrzybek Grzegorz Grzybek
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: