I think it more like a class loader issue than a camel issue.
Maybe you need find other way to invoke the remote EJB by marshaling and unmarshaling the request/response instead passing the value directly.

On 9/27/11 7:51 PM, smythewin wrote:
Hi,

I'am running a route wich perfoms JAXB unmarshalling before calling an EJB:



The camel route and the EJB reside in two different web archives, both
deployt on the same application container.

This results in:


The EJB method expects an object of the same type that was unmarshalled:
When deploying classes for camel route and the EJB in the same web archive
everything works as expected.

Thanks in advance for all your help/suggestions.

Sven

--
View this message in context: 
http://camel.465427.n5.nabble.com/TypeConversion-with-JAXB-when-calling-remote-EJB-tp4845064p4845064.html
Sent from the Camel - Users mailing list archive at Nabble.com.



--
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog:    http://willemjiang.blogspot.com (English)
         http://jnn.javaeye.com (Chinese)
Twitter: willemjiang
Weibo: willemjiang

Reply via email to