Hi all,
my requirement is to add the time(when it is received by cxf BC) to the
message and to read the same in SE, to do the same i have done like the
following .
public class LatencyCalcInterceptior extends AbstractSoapInterceptor {
private static final Logger LOG = Logger
.getLogger(LatencyCalcInterceptior.class.getName());
public LatencyCalcInterceptior() {
super(Phase.RECEIVE);
}
public void handleMessage(SoapMessage message) throws Fault {
message.put("cxfbcstarttime",System.currentTimeMillis()); // type 1
message.getExchange().put("cxfbcstarttime",System.currentTimeMillis());
//type 2
}
}
i tried different approaches to read the property in SE but it doesn't seem
to be coming to SE .please help me .
--
View this message in context:
http://servicemix.396122.n5.nabble.com/setting-poperty-in-Interceptor-and-reading-it-in-SE-tp3387420p3387420.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.