What osgi environment are you using? And how do you bootstrap Camel in that?
If you use Karaf or SMX with Camel defined in spring-dm or blueprint XML files then that would work out of the box. On Wed, Sep 19, 2012 at 8:47 PM, JacobS <[email protected]> wrote: > I am using camel (tried 2.6 and 2.10.1) in an osgi environment and I am > getting exceptions when camel is checking an 'is' predicate: > > org.apache.camel.language.simple.types.SimpleIllegalSyntaxException: is > operator cannot find class with name: MyClassName > > It seems that the class loader used by camel is the camel-core bundle class > loader which doesn't know the required class. is it possible to set the > camelcontext class loader ? > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/camelcontext-cant-find-class-in-osgi-environment-tp5719618.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. FuseSource is now part of Red Hat Email: [email protected] Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen
