// can abort now if same message in process or already processed
if (mn == inProcessNumber || isAcknowledged(mn)) {
return false;
}
if (continuation == null) {
ContinuationProvider p = message.get(ContinuationProvider.class);
if (p != null) {
boolean isOneWay = message.getExchange().isOneWay();
message.getExchange().setOneWay(false);
continuation = p.getContinuation();
message.getExchange().setOneWay(isOneWay);
message.put(Continuation.class, continuation);
}
}