Community

Invalid pointer operation?

reply from Ron Sigal in JBoss Remoting - View the full discussion

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

Start a new discussion in JBoss Remoting at Community