Thanks. I was looking for a context to store and retrieve a value. I hope there will be no side effects in storing data using setExchange()?
Thanks, Nishant On Thu, Feb 9, 2012 at 4:26 PM, Sergey Beryozkin <[email protected]>wrote: > On 09/02/12 10:10, Nishant Chandra wrote: > >> I agree. But I am more interested in time spent inside CXF. >> >> > Typically you can do it in CXF by using a pair of interceptors. > The CXF in interceptor will save the current time on the Exchange > (message.getExchange()) and then retrieve this value in the out > interceptors, or vice-versa if it's done on the client side > > HTH > Sergey > > > Nishant >> >> On Thu, Feb 9, 2012 at 3:10 PM, Jens Borgland<[email protected] >> >wrote: >> >> Hi, >>> >>> I think that could much easier be handled with a servlet filter >>> (http://docs.oracle.com/javaee/6/api/javax/servlet/Filter.html). >>> >>> Jens >>> >>> 2012/2/9 Nishant Chandra<[email protected]>: >>> >>>> Hi, >>>> >>>> I was wondering if it is possible to log request processing time i.e. >>>> >>> start >>> >>>> and end time using CXF interceptor? >>>> >>>> Thanks, >>>> Nishant >>>> >>> >>> >> > > -- > Sergey Beryozkin > > Talend Community Coders > http://coders.talend.com/ > > Blog: http://sberyozkin.blogspot.com > -- Nishant Chandra Bangalore, India Cell : +91 9739131616
