[jboss-user] [Remoting] - Re: Timeout parameter - can I specify timeout per request?

ron.sigal@jboss.com do-not-reply at jboss.com
Wed Feb 14 00:22:46 EST 2007

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#4016195

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016195

More information about the jboss-user mailing list