Yeah, of course it works. Thanks. RouteBuilders are plain objects inside the
context, so the same rules apply. How could I miss that? :) Anyway probably
it's pretty common situation, isn't it? If you are using Camel and wanna
make use of Spring (for non-camel components) it seems quite natural to
share context with Camel. Although the solution is straightforward IMHO it
would be wise to either add such interface+method to RouteBuilder class or
even annotation to avoid building base class for route builders as I did.
--
View this message in context:
http://www.nabble.com/Re%3A-How-to-make-RouteBuilder-Spring-context-aware--tp14953356s22882p15002605.html
Sent from the Camel - Users mailing list archive at Nabble.com.