Details
-
Test
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.3.0
-
None
-
Patch Available
Description
Could be added to the code or used on website as one of Spring integration examples. Typical Camel applications are usually not only simple RouteBuilders. There are many components like processors, beans woven in DSL. This piece of code shows how to make it cleaner using Spring features. The pattern is to have all (needed) pojos automatically scaned and registered in Camel-Spring context and injected to RouteBuilder avoiding initialization-hell.