Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.3.0
-
None
-
Unknown
Description
My team is developing a "stand-alone" Camel Main application which utilizes route builder discovery using the package scanning feature. The current implementation instantiates any class within the package which extend RouteBuilder. If an abstract class which extends RouteBuilder is in the package, the Camel Context fails to load since the abstract class cannot be instantiated.
Our application currently utilizes an abstract class within a "scanned" package, so we wanted to see if the scanning algorithm could be updated to exclude abstract classes.
ThisĀ PR updates the package scanning algorithm and the corresponding test case.
Attachments
Issue Links
- relates to
-
CAMEL-15184 PackageScan.findImplementation - Should filter out abstract classes
- Resolved
- links to