I have found an answer myself.

Create a file cxf.xml and put it on the classpath

<beans xmlns="http://www.springframework.org/schema/beans";
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
       xmlns:http-conf="http://cxf.apache.org/transports/http/configuration";
       xsi:schemaLocation="
http://cxf.apache.org/transports/http/configuration

http://cxf.apache.org/schemas/configuration/http-conf.xsd
                           http://www.springframework.org/schema/beans

http://www.springframework.org/schema/beans/spring-beans.xsd";>
    <http-conf:conduit name="*.http-conduit">
        <http-conf:client Connection="close"
            ConnectionTimeout="3000" ReceiveTimeout="3000" />
    </http-conf:conduit>

</beans>



On Wed, Nov 25, 2009 at 6:09 PM, Daniel Travin <[email protected]> wrote:

> Hi all,
>
> is there any straight way of how to configure httpclient that is used by
> cxf client?
> This is the feature I would like to have.
>
> http://jira.codehaus.org/browse/XFIRE-1037
>
>
>

Reply via email to