Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
3.4.2
-
None
-
None
-
Karaf 4.2.9
-
Unknown
Description
I have a Camel application using Blueprint XML running on Karaf 4.2.9. Some routes call methods on beans that are OSGi services.
When I try to upgrade to version 3.4.2 (from 3.4.0) Camel is no longer finding method in bean.
Error at startup reads:
"Failed to create route XXX at…”
Caused by: org.apache.camel.component.bean.MethodNotFoundException: Method with name: XXXX not found on bean: XXXX@XXXX of type: Proxy3d58f1a3_9d5b_4a54_aa71_e8a0574b6da9
at org.apache.camel.component.bean.DefaultBeanProcessorFactory.createBeanProcessor(DefaultBeanProcessorFactory.java:146) ~[?:?]
at org.apache.camel.reifier.BeanReifier.createProcessor(BeanReifier.java:47) ~[?:?]
at org.apache.camel.reifier.ProcessorReifier.makeProcessor(ProcessorReifier.java:766) ~[?:?]
at org.apache.camel.reifier.ProcessorReifier.addRoutes(ProcessorReifier.java:511) ~[?:?]
at org.apache.camel.reifier.RouteReifier.doCreateRoute(RouteReifier.java:391) ~[?:?]
... 22 more
Attachments
Issue Links
- relates to
-
CAMEL-15793 MethodNotFoundException when calling method on OSGi service reference in Blueprint
- Resolved