[ 
https://issues.apache.org/jira/browse/CAMEL-15623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen updated CAMEL-15623:
--------------------------------
    Summary: osgi - Reference methods  not found in blueprint context  (was: 
Reference methods  not found in blueprint context)

> osgi - Reference methods  not found in blueprint context
> --------------------------------------------------------
>
>                 Key: CAMEL-15623
>                 URL: https://issues.apache.org/jira/browse/CAMEL-15623
>             Project: Camel
>          Issue Type: Bug
>          Components: karaf
>    Affects Versions: 3.4.4
>            Reporter: Borodina Valery
>            Priority: Minor
>
> I have two bundles with blueprint.
> blueprint 1 bundle:
> {code:java}
> <bean id="impl" class="com.example.InterfaceImpl"/>
> <service ref="impl" interface="com.example.Interface"/>{code}
> blueprint 2 bundle:
>  
> {code:java}
> <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>
> {code}
>  
>  
> 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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to