Details
-
Type:
New Feature
-
Status: Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.16.1
-
Fix Version/s: 2.18.0
-
Component/s: camel-spring
-
Labels:None
-
Environment:
Spring 4.2 (without Spring Boot).
-
Estimated Complexity:Unknown
Description
There could be an equivalent to <contextScan/> from XML configuration in JavaConfig to automatically find routes created as Spring beans using `RouteBuilder` (in non Spring Boot applications).
Currently they need to be added manually with `camelContext.addRoute(...)`.
More details:
https://mail-archives.apache.org/mod_mbox/camel-users/201602.mbox/%3C56C90F42.5000600%40wp.pl%3E