Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 354361 - timeout values (read, connect) for the Http(s)URLConnection used by Riena/Hessian should be configurable
Summary: timeout values (read, connect) for the Http(s)URLConnection used by Riena/Hes...
Status: RESOLVED FIXED
Alias: None
Product: Riena
Classification: RT
Component: communication (show other bugs)
Version: 3.0.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Stefan Liebig CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 299028
  Show dependency tree
 
Reported: 2011-08-10 07:27 EDT by Stefan Liebig CLA
Modified: 2011-08-10 09:10 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Liebig CLA 2011-08-10 07:27:38 EDT
The timeout values are currently the default values but they should be configurable.
Comment 1 Stefan Liebig CLA 2011-08-10 07:39:06 EDT
For the configuration there will be a new extension point created. 
This extension point would also allow to incorporate a configuration property which is currently only defined by a system property (riena.communication.zip).
I propose to remove the system property and move the configuration to the extension point.

Objections?
Comment 2 Christian Campo CLA 2011-08-10 07:57:58 EDT
That sounds like a good idea. And default (if no extension is specified) will be the current default if no system property is defined right ?
Comment 3 Stefan Liebig CLA 2011-08-10 08:02:42 EDT
The idea is that this system property is completely discarded. 
If the extension is not given or the attribute for "zipping" (it is optional) is not set the default value will be "false", i.e. no zipping.
Comment 4 Ralf Stuckert CLA 2011-08-10 08:35:57 EDT
+1
Comment 5 Stefan Liebig CLA 2011-08-10 08:50:58 EDT
An example configuration will look like this:

<extension
		point="org.eclipse.riena.communication.factory.hessian.configuration">
	<configuration 
			connectTimeout="60000" 
			readTimeout="10000" 
			zipClientRequest="true">
	</configuration>
</extension>
Comment 6 Stefan Liebig CLA 2011-08-10 09:10:19 EDT
done