camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From liugang594 Liu <>
Subject Body type problem on CXF component with CXF_MESSAGE dataFormat`
Date Tue, 04 Jun 2013 08:54:48 GMT
Hi All:

I have a question about the expect body type of CXF compoent when using
CXF_MESSAGE dataFormat. My CXF version is 2.7.5 and Camel version is 2.10.4.

for example, I have a route:timer -> setBody (constant string content) ->
It works fine, if dataFormat of this cxf component is RAW, POJO or PAYLOAD,
But, if dataFormat is CXF_MESSAGE, then the output request body is always
empty, In order to make it work, I have to append a convertBodyTo
component: timer -> setBody (constant string content) -> convertBodyTo
(javax.xml.transform.Source.class) -> CXF

I checked the code, the Source type is required in method handleMessage of

As my understand, if the Source type is required, then this should be done
inside Camel. else user may don't understand what's wrong.

Skype: gang.liu.talendbj

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message