On Tue, Mar 3, 2009 at 8:03 AM, atlep <[email protected]> wrote:
>
> I am using camel in  a OSGI (Felix) environment, and I regularly bump into
> classloading issues:
>
> THe most recentones are
> The JSM Component cant find the QueueBrowserStrategy because it cannot see
> the spring bundle that exports it, because it is using a "wrong "
> classloader to try to load it (it uses o.a.c.util.ObjectHelper's
> classloader).
>
> The activemq component cannot load object messages because it cannot
> deserialize the body. I have tried setting the thread contextclassloader to
> my bundles classloader, but it seems it does not use the context
> classloader.
>
> Are there any good practices or patterns regarding using camel + activemq in
> a OSGi environment, without resorting to servicemix?
>
> Maybe these wrinkles are ironed out in camel 2.0?
What version of Camel are you using? Willem Jiang did some
improvements in camel-osgi in Camel 1.6.0 and beyond.


> --
> View this message in context: 
> http://www.nabble.com/Classloading-and-OSGI-tp22303475p22303475.html
> Sent from the Camel - Users (activemq) mailing list archive at Nabble.com.
>
>



-- 
Claus Ibsen
Apache Camel Committer

Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/

Reply via email to