String[] paramSig = createParamSignature(method.getParameterTypes());
NameBasedInvocation invocation = new NameBasedInvocation(methodName, args, paramSig);
RemotePojoInvocationCommandResponse response = null;
Throwable throwable = null;
RemotePojoInvocationCommand cmd = new RemotePojoInvocationCommand();
cmd.setNameBasedInvocation(invocation);
cmd.setTargetInterfaceName(m_targetInterfaceName);
boolean async_mode_enabled = determineAsynchronous(method);
Long timeout = determineTimeout(method);
boolean guaranteed_delivery = determineGuaranteedDelivery(method);
boolean send_throttle_enabled = determineSendThrottling(method);
if (send_throttle_enabled) {
cmd.getConfiguration().setProperty(ClientCommandSender.CMDCONFIG_PROP_SEND_THROTTLE,
Boolean.toString(true));
}
if (timeout != null) {
cmd.getConfiguration().setProperty(ClientCommandSender.CMDCONFIG_PROP_TIMEOUT, timeout.toString());
}
try {
if (async_mode_enabled) {
if (guaranteed_delivery) {