if (timeWaitingForCAS > 0 && aMessageContext.getEndpoint().isRemote()) {
entry.incrementTimeWaitingForCAS(timeWaitingForCAS);
delegateServicePerformance.incrementCasPoolWaitTime(timeWaitingForCAS
- delegateServicePerformance.getRawCasPoolWaitTime());
if (inputCasEntry != null) {
inputCasEntry.incrementTimeWaitingForCAS(timeWaitingForCAS);
}
}
}
if (aMessageContext.propertyExists(AsynchAEMessage.TimeInProcessCAS)) {
long timeInProcessCAS = ((Long) aMessageContext