*/
public void invokeOneway(final Object param, final Map sendPayload, boolean clientSide) throws Throwable
{
if(clientSide)
{
ThreadPool threadPool = getOnewayThreadPool();
Runnable onewayRun = new Runnable()
{
public void run()
{
try
{
invoke(param, sendPayload);
}
catch(Throwable e)
{
// throw away exception since can't get it back to original caller
log.error("Error executing client oneway invocation request: " + param, e);
}
}
};
threadPool.run(onewayRun);
}
else
{
OnewayInvocation invocation = new OnewayInvocation(param);
invoke(invocation, sendPayload);