Specifically decided to test it out.
Below shows a working example.

CamelContext camelContext;
LocalRouteBuilder builder = new LocalRouteBuilder();
new
DefaultCamelBeanPostProcessor(camelContext).postProcessBeforeInitialization(builder,
"builder");
camelContext.addRoutes(builder);

Why could not perform the penultimate line in the latter method?

--
Aleksey



--
View this message in context: 
http://camel.465427.n5.nabble.com/Annotations-are-not-working-in-RouteBuilder-tp5764966p5765005.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to