userObject = o;
}
public synchronized boolean suspend(long timeout) {
if (isPending) {
return false;
<BUG>}
inMessage.getExchange().getInMessage().getInterceptorChain().suspend();
updateContinuations(false);</BUG>
isNew = false;
isResumed = false;

userObject = o;
}
public synchronized boolean suspend(long timeout) {
if (isPending) {
return false;
}
if (PhaseInterceptorChain.getCurrentMessage() == null) {
inMessage.getExchange().put(Message.SUSPENDED_INVOCATION, true);
} else {
inMessage.getExchange().getInMessage().getInterceptorChain().suspend();
}
updateContinuations(false);
isNew = false;
isResumed = false;
