axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Jordahl <t...@macromedia.com>
Subject RE: cvs commit: xml-axis/java/src/org/apache/axis/transport/http CommonsHTTPSender.java
Date Mon, 21 Jul 2003 15:47:46 GMT

+1
Nice job Eric!

--
Tom Jordahl
Macromedia Server Development

-----Original Message-----
From: ericf@apache.org [mailto:ericf@apache.org] 
Sent: Sunday, July 20, 2003 7:59 PM
To: xml-axis-cvs@apache.org
Subject: cvs commit: xml-axis/java/src/org/apache/axis/transport/http CommonsHTTPSender.java

ericf       2003/07/20 16:58:37

  Modified:    java     build.xml
               java/src/org/apache/axis/transport/http
                        CommonsHTTPSender.java
  Added:       java/src/org/apache/axis/components/net
                        CommonsHTTPClientProperties.java
                        CommonsHTTPClientPropertiesFactory.java
                        DefaultCommonsHTTPClientProperties.java
  Log:
  Added configuration support to CommonsHTTPSender, making it possible
  to set the size of the connection pool, the number of connections
  allowed per host by the pool, and the timeout on allocating a
  connection from the pool.  All values are identical to the defaults
  of Commons HTTP Client, so there is no change to the existing
  behavior.  The default implementation of the new interface for
  configuring these values reads them from AxisProperties, which fall
  back to system properties, making it possible to configure these
  settings through that mechanism as well.  Connection timeout --
  both in creating the connection and in blocking for socket reads
  -- is derived from the Axis message for a specific request, just
  as it is in the "regular" http transport.  This preserves the
  transparent pluggability of the commons http transport option and
  separates the concern of connection timeouts from that of pooled
  resource management.
  
  None of these files are compiled unless commons-httpclient is present;
  hence the modifications to build.xml
  
  This enhancement was built against Commons HTTPClient 2.0 beta 2
  
 

Mime
View raw message