Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
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
- is related to
-
CAMEL-18189 camel-core - XML DSL <beans> for custom beans and to embed Camel routes in same file
- Resolved