protected void endHandlingMessage(Exchange ex) {
if (null == ex) {
return;
}
MessageHandlingTimeRecorder mhtr = ex.get(MessageHandlingTimeRecorder.class);
if (null != mhtr) {
mhtr.endHandling();
mhtr.setFaultMode(ex.get(FaultMode.class));
increaseCounter(ex, mhtr);
} // else can't get the MessageHandling Infor
}