Re: Referencing OSGi services with RouteBuilder classes for use in CamelContext

2013-09-02 Thread Claus Ibsen
Hi Do you have the stacktrace for this? Not sure why blueprint gives you the proxy class, could be that the osgi registry in camel-core-osgi should detect its a proxy class and get the target class automatic. But a stacktrace / or sample project to reproduce would be lovely to play with. On

Re: Referencing OSGi services with RouteBuilder classes for use in CamelContext

2013-09-02 Thread Claus Ibsen
I was able to reproduce the issue and logged a ticket https://issues.apache.org/jira/browse/CAMEL-6699 On Mon, Sep 2, 2013 at 1:19 PM, Claus Ibsen claus.ib...@gmail.com wrote: Hi Do you have the stacktrace for this? Not sure why blueprint gives you the proxy class, could be that the osgi

Re: Referencing OSGi services with RouteBuilder classes for use in CamelContext

2013-09-02 Thread Martin Stiborský
wow you are fast, thank for checking this out On Mon, Sep 2, 2013 at 3:35 PM, Claus Ibsen claus.ib...@gmail.com wrote: I was able to reproduce the issue and logged a ticket https://issues.apache.org/jira/browse/CAMEL-6699 On Mon, Sep 2, 2013 at 1:19 PM, Claus Ibsen claus.ib...@gmail.com

Referencing OSGi services with RouteBuilder classes for use in CamelContext

2013-06-24 Thread Martin Stiborský
Hello guys, I'd like to ask first if I'm wrong or not... I have a bundle, where is defined CamelContext in blueprint XML. In this XML, I'd like to reference services from n other bundles, which exposes services with routes - RouteBuilder class(es). How should be the route class for the bundles