Jb,

Sorry to correct you but the default dataFormat is POJO.

Regards,
Morgan

On 3/03/2015 10:22, Jean-Baptiste Onofré wrote:
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.



Reply via email to