If you look at the JMX page at:

http://cxf.apache.org/docs/jmx-management.html

there are instructions for configuring in some JMX stuff to enable the 
performance metrics that we already provide.   That may be enough for you.   
If not, that code may be a good place to start as well.

Dan



On Thursday, October 27, 2011 5:12:41 PM Vassilis Virvilis wrote:
> Hi,
> 
> I would like to time the performance of our methods in a centralized
> manner (meaning not adding timing logs to every individual method).
> 
> I have a LoggingInInterceptor that prints the method and the arguments.
> 
> I was thinking that it may be possible to add that as a signature along
> with a timestamp to the /session/http response/some other place/
> from where the appropriate logging out interceptor can pick them up
> and calculate the time diff and log it.
> 
> Q: Where should I put that kind of values?
> Q: How I can retrieve them later in the OutInterceptor?
> Q: In which phase the interceptors should run? (in and out)
> 
> 
> Thanks
> 
>        .bill
-- 
Daniel Kulp
dk...@apache.org
http://dankulp.com/blog
Talend - http://www.talend.com

Reply via email to