true) && (res != null && !res.isEmpty() && res.get(0) == null) && exchange.getInMessage().getInterceptorChain().getState() == InterceptorChain.State.EXECUTING) {
private boolean isSuspended(Exchange exchange) { return exchange.getInMessage().getInterceptorChain().getState() == State.SUSPENDED; }
true) && (res != null && !res.isEmpty() && res.get(0) == null) && exchange.getInMessage().getInterceptorChain().getState() == InterceptorChain.State.EXECUTING) {
outChain = OutgoingChainInterceptor.getChain(ex, chainCache); out.setInterceptorChain(outChain); } else if (outChain.getState() == InterceptorChain.State.PAUSED) { outChain.resume(); return;
outChain = OutgoingChainInterceptor.getChain(ex, chainCache); out.setInterceptorChain(outChain); } else if (outChain.getState() == InterceptorChain.State.PAUSED) { outChain.resume(); return;
} finally { boolean suspended = PropertyUtils.isTrue(exchange.get(Message.SUSPENDED_INVOCATION)) || exchange.getInMessage().getInterceptorChain().getState() == State.SUSPENDED; if (exchange.isOneWay() || suspended) { ProviderFactory.getInstance(exchange.getInMessage()).clearThreadLocalProxies();