private Object asyncInvoke(Exchange cxfExchange, final Object serviceObject, Method method,
Object[] paramArray, final Continuation continuation) throws Exception {
synchronized (continuation) {
if (continuation.isNew()) {
ExchangePattern ep = ExchangePattern.InOut;
if (method.getReturnType() == Void.class) {
ep = ExchangePattern.InOnly;
}
final org.apache.camel.Exchange camelExchange = endpoint.createExchange(ep);