Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

stupid pipeline question

$
0
0
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

Viewing all articles
Browse latest Browse all 5648

Trending Articles