camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tapdur <tapdu...@gmail.com>
Subject in.getBody() Bug ???
Date Thu, 11 Feb 2010 11:06:41 GMT

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




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


Mime
View raw message