camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willem Jiang <>
Subject Re: setBody(Object body, Class<T> type) does not seem to set the body type
Date Mon, 28 Jul 2014 03:10:49 GMT
You need to set up the out message body instead of in message body.

Willem Jiang

Red Hat, Inc.
Blog: (English) (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem

On July 27, 2014 at 12:52:08 AM, bocamel ( wrote:
> Thanks Claus!
> I tried a Processor, but the same error occurred. I do not know whether the
> fact that this is on an OnException path made any difference. What I am
> trying to do is to replace the soap fault from a web services server
> (CxfPayload) with some meaningful response message (a string).
> Like I said in my original post, I do have a workaround - > type="String" /> before
I try to replace the fault message in the processor.
> It is just not very elegant.
> Thanks again for your help!
> --
> View this message in context:
> Sent from the Camel - Users mailing list archive at

View raw message