Hi all,

I expose my problem:
I use a JMS client in my application running Karaf. JMS libraries are
deployed in Karaf as OSGI modules. I use the Spring framework to facilitate
the integration.

Upon receipt of a JMS message, external JMS library tries to deserialize the
wrapped java object (the JMS message wrap a java object - ObjectMessage -).
But as it did not import the class, it generates a ClassNotFoundException.

I've had the same problem when I used other libraries like Hector (for
Apache Cassandra).

What do you recommend to do in this use case? Edit the module to add the
"Dynamic-Import" tag?

Regards, Christophe.



--
View this message in context: 
http://karaf.922171.n3.nabble.com/Dynamic-import-into-non-user-library-tp4029990.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to