Hi,

Can you also post the exception that is being thrown...? 

In addition is the payload being sent to the processor a serializable object
of GreetingRequestType.class?

You may want to introduce a log() in the DSL to get a sense of the contents
of the exchange

Cheers,

Ashwin...


Tapdur wrote:
> 
> Hi community
> 
> in the process method, i want to get a body of type wich is generated by
> xjc, how to pass to the getBody() the jaxb option
> ignoreJAXBElement="false" (used in the unmarshall) ?
> 
> this line fail (within the correct object in the echange.in.value
> attribute):  GreetingRequestType user = (GreetingRequestType)
> exchange.getIn().getBody(GreetingRequestType.class);
> 
> is it a bug or is there any workaround ?
> 
> Thx
> Bruno
> 
> 
> 
> 
> 


-----
--- 
Ashwin Karpe, Principal Consultant, PS - Opensource Center of Competence 
Progress Software Corporation
14 Oak Park Drive
Bedford, MA 01730
--- 
+1-972-304-9084 (Office) 
+1-972-971-1700 (Mobile) 
---- 
Blog: http://opensourceknowledge.blogspot.com/


-- 
View this message in context: 
http://old.nabble.com/in.getBody%28%29-Bug-----tp27544321p27544548.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to