hi all
when i use a route with cxfEndpoint like this it works fine
<route>
<from uri="cxf:bean:routerEndpoint" />
<to uri="cxf:bean:CIM-BIE-MOCK" />
</route>
the to response is well returned in the grom response.
however, if i want to insert a mapper before and/or after the to uri i lost
the body, why ???
<route>
<from uri="cxf:bean:routerEndpoint" />
<convertBodyTo type="com.a.request" />
<to uri="cxf:bean:CIM-BIE-MOCK" />
<convertBodyTo type="com.a.response"
</route>
may i use transform ? to return a com.a.response to the from messasge ?
thx a lot
bruno
when i use a route with cxfEndpoint like this it works fine
<route>
<from uri="cxf:bean:routerEndpoint" />
<to uri="cxf:bean:CIM-BIE-MOCK" />
</route>
the to response is well returned in the grom response.
however, if i want to insert a mapper before and/or after the to uri i lost
the body, why ???
<route>
<from uri="cxf:bean:routerEndpoint" />
<convertBodyTo type="com.a.request" />
<to uri="cxf:bean:CIM-BIE-MOCK" />
<convertBodyTo type="com.a.response"
</route>
may i use transform ? to return a com.a.response to the from messasge ?
thx a lot
bruno