Bean InjectionPage edited by Claus IbsenChanges (2)
Full ContentBean InjectionWe support the injection of various resources using @EndpointInject or @BeanInject. This can be used to inject
Using @BeanInjectFrom Camel 2.13 onwards you can inject beans (obtained from the Registry) into your beans such as RouteBuilder classes. For example to inject a bean named foo, you can enlist the bean in the Registry such as in a Spring XML file: <bean id="foo" class="com.foo.MyFooBean"/>
Stop watching space
|
Change email notification preferences
View Online
|
View Changes
|