camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willem jiang <willem.ji...@gmail.com>
Subject Re: The Message header with the name of CxfConstants.OPERATION_NAME
Date Mon, 02 Sep 2013 03:47:57 GMT
The operation name is the method name you want to invoke.
"Invoke" and "InvokeOneWay" are the SEI method name you want to use.
As camel-cxf is using CXF client to send the request, so we don't use the proxy method directly
to send the invocation.


--  
Willem Jiang

Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English)
          http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem





On Monday, September 2, 2013 at 11:00 AM, Ernest Lu wrote:

> Hi,
> exchange.getIn().setHeader(CxfConstants.OPERATION_NAME, "Invoke");
> exchange.getIn().setHeader(CxfConstants.OPERATION_NAME, "InvokeOneWay");
>  
> I am confused that some camel-cxf test classes set the
> CxfConstants.OPERATION_NAME header like that above instead of the method
> name to be invoked . Why is that?
>  
>  
>  
>  
> --
> View this message in context: http://camel.465427.n5.nabble.com/The-Message-header-with-the-name-of-CxfConstants-OPERATION-NAME-tp5738456.html
> Sent from the Camel - Users mailing list archive at Nabble.com (http://Nabble.com).




Mime
View raw message