You just have to set the operationName header before invoking the CXF
endpoint. Something like this if you want to do this within a route:

...
      <setHeader headerName="operationName">
        <constant>myOperation</constant>
      </setHeader>
      <to uri="cxf:bean:myCXFEndpointBeanWith2Operations"/>
...

On Tue, Jun 1, 2010 at 4:01 PM, Carlo Camerino <carlo.camer...@gmail.com>wrote:

> Hi,
>
> how do you specify the operation which camel will use.
> In the documentation, you can specify the service name and the port name
> but
> you can't specify the operation.
>
> i have two operations with the same type of arguments.
> camel seems to choose one but i don't know how camel is choosing it.
>
> thanks
> carlo
>



-- 
Cheers,
Jon

Camel in Action: http://manning.com/ibsen
Blog: http://janstey.blogspot.com

Reply via email to