Hi

In Camel we use ObjectHelper.loadClass to load classes on the fly.

Could there be some issues with this in OSGi platforms? We got a
report today with using camel-jms that tries to load a spring queue
browser class on the fly. So we can support Spring 2.0 also as this
class was introduced in Spring 2.5.x.

I was wondering if we should add API for pluggable class resolvers?
Eg. ClassResolver API in SPI and then a getter to it from
CamelContext.
Or is the ObjectHelper sufficient?

Do you need to get hold of some bundle context to load classes in OSGi
or is the regular class loading okay?

Gertv, Willem you are the ones that are most into OSGi. You thoughts?


-- 
Claus Ibsen
Apache Camel Committer

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

Reply via email to