Hi CXF SOAP supports both InOnly and InOut modes so it could be that the MEP is InOnly and it does a "one way" message call.
So you can set exchangePattern=InOut in the uri https://camel.apache.org/components/latest/eips/requestReply-eip.html https://camel.apache.org/components/latest/eips/event-message.html On Mon, Sep 13, 2021 at 9:41 PM <mail4...@gmail.com> wrote: > > Hello. > > I have a route which may be simplyfied into > > from(KAFKA_TOPIC) > .process(...some-processors...) > .to(SUB_ROUTE) > .process(...next-logic...); > > > from(SUB_ROUTE) > .process(...prepare...) > .to("cxf:url?params"); > > my "next-logic" expects the message will be the result of CXF > conversation. But it seems CXF endpoint does not put the response of > SOAP back. It leads to my route receives my CXF request instead of CXF > response. > > I've tried to > .process(exchange -> > exchange.getIn().setBody(exchange.getOut().getBody())) > > but it did not bring any effect. > > My question is how to precess the CXF response in the route? > > > PS. Camel 3.10-3.11 > -- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2