Description
I have two bundles with blueprint.
blueprint 1 bundle:
<bean id="impl" class="com.example.InterfaceImpl"/> <service ref="impl" interface="com.example.Interface"/>
blueprint 2 bundle:
<reference id="impl" interface="com.example.Interface"/> <camelContext xmlns="http://camel.apache.org/schema/blueprint"> <route> <from uri="timer:s?period=1000"/> <bean ref="impl" method="hi" /> </route> </camelContext>
and I get exception Caused by: org.apache.camel.component.bean.MethodNotFoundException: Method with name: hi not found on bean: com.example.InterfaceImpl of type: Proxy06b9dc80_2890_4f85_8bea_320bc0a4d9cb
Attachments
Issue Links
- relates to
-
CAMEL-15793 MethodNotFoundException when calling method on OSGi service reference in Blueprint
- Resolved