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

A web service consumer route per operation

$
0
0
Dear Listener,

we have a web service with several operation in it. Now I would like to
build for each operation
a dedicated web service consumer route. How can I configure each route to
listen only for
one operation instead of listen to all of them.
Here is my cxf endpoint configured:

*<camelcxf:cxfEndpoint id="orderService" address="/engine/datacombination"

serviceClass="com.company.production.engine.datacombination.OrderDataMerging"
wsdlURL="wsdl/OrderDataMerging.wsdl">
<camelcxf:properties>
<entry key="dataFormat" value="POJO" />
</camelcxf:properties>
</camelcxf:cxfEndpoint>*

With just one operation it was not a problem to configure the web service
consumer route like
this:

*from("cxf:bean:orderService").routeId(RouteID.WEB_SERVICE_ORDER)*

Again, how can I configure the web service consumer route to listen only for
a special
operation?

Thank you very much
Hilde

Viewing all articles
Browse latest Browse all 5648

Trending Articles