long idleTime = ((Long) aMessageContext.getMessageLongProperty(AsynchAEMessage.IdleTime))
.longValue();
if (idleTime > 0 && delegateServicePerformance != null) {
Endpoint endp = aMessageContext.getEndpoint();
if (endp != null && endp.isRemote()) {
delegateServicePerformance.incrementIdleTime(idleTime);
}
}
}
if (aMessageContext.propertyExists(AsynchAEMessage.TimeWaitingForCAS)) {