callback.done(false);
}
});
// decide which method to invoke
final ApiMethod method = findMethod(exchange, properties);
if (method == null) {
// synchronous failure
callback.done(true);
return true;
}
if (LOG.isDebugEnabled()) {
LOG.debug("Invoking operation {} with {}", method.getName(), properties.keySet());
}
try {
doInvokeMethod(method, properties);
} catch (Throwable t) {