Is it possible to register a CXF Interceptor in more than one Phases?

Viewed 411

I have a CXF Rest Service and I am trying to create a logging mechanism that will log specific request and response details.

All the details I want to be written into a file in one write. As a result I am looking forward to create an Interceptor that will be invoked in the RECEIVE and in the SEND phase. Until now I haven't find any way to do it.

Is it possible to create an Interceptor registered in two phases of two different chains?

Thanks

1 Answers
Related