Re: server timings?

2011-10-31 Thread Vassilis Virvilis
Hi Daniel, Fabio I would like to time the performance of our methods in a centralized manner (meaning not adding timing logs to every individual method). I would like to thank you for your valuable and prompt answers. Fabio, that was exactly what was asking for. Daniel I wasn't aware that cx

Re: server timings?

2011-10-27 Thread Daniel Kulp
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

Re: server timings?

2011-10-27 Thread Fabio souza
Just to better explain, that code should be included in interceptors that you would develop. cheers, Fábio On Thu, Oct 27, 2011 at 12:38 PM, Fabio souza < fabio.nogueira.so...@gmail.com> wrote: > Hi Vassilis, > > You can put the start time directly in the exchange, like in this code: > > Exchan

Re: server timings?

2011-10-27 Thread Fabio souza
Hi Vassilis, You can put the start time directly in the exchange, like in this code: Exchange ex = message.getExchange(); ex.put("START_TIME", System.nanoTime()); Now you can read the exchange in the out chain: Exchange ex = message.getExchange(); Long start = ex.get("START_TIME"); Regarding t

server timings?

2011-10-27 Thread Vassilis Virvilis
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