Per invocation timeouts have been implemented for the socket and sslsocket transports, as
well as the newly derived bisocket and sslbisocket transports.
A timeout that will apply only to the current invocation may be requested as follows:
| HashMap config = new HashMap();
| config.put(ServerInvoker.TIMEOUT, "5000"); // Test - 5 seconds
| res = client.invoke(arg, config);
|
where the value of ServerInvoker.TIMEOUT is "timeout".
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016195#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...