Hi Frank,

it depends the data format that you use on the CXF endpoint.

Using the default data format (Message), you can retrieve the operation name from the CxfConstants.OPERATION_NAME header:

String operation = (String)exchange.getIn().getHeader(CxfConstants.OPERATION_NAME);

Regards
JB

On 03/03/2015 09:27 AM, Frankiboy wrote:
Im using CXF, im would like to log the operation name.

Is there a easy way to get the operation name, from the exchange or ?

Frank



--
View this message in context: 
http://camel.465427.n5.nabble.com/Can-i-get-the-Operation-name-from-camel-tp5763459.html
Sent from the Camel - Users mailing list archive at Nabble.com.


--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to