[jboss-user] [JBoss Remoting] - Invalid pointer operation?
Ron Sigal
do-not-reply at jboss.com
Mon Apr 12 12:42:15 EDT 2010
Ron Sigal [http://community.jboss.org/people/ron.sigal%40jboss.com] replied to the discussion
"Invalid pointer operation?"
To view the discussion, visit: http://community.jboss.org/message/536970#536970
--------------------------------------------------------------
Hi Andy,
The default client side read timeout in Remoting's http transport is 0, i.e., infinite. However, you can configure a finite timeout in two ways:
1. add "timeout=xxx" to the InvokerLocator, or
2. add "timeout" to the invocation metadata; i.e., something like
httpInvokeMetadata.put("timeout", xxx); // add this
remotingClient.invokeOneway("Sending GET Request", httpInvokeMetadata);
-Ron
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/536970#536970]
Start a new discussion in JBoss Remoting at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2050]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100412/0a94e3d8/attachment.html
More information about the jboss-user
mailing list