git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

timeout in http-conf:conduit is not getting applied


Hi,

Timeout valued in http-conf:conduit set in my soapContext.xml are not getting applied to my WebClient. When I try to inspect the webclient which is getting created 
in JAXRSClientFactoryBean it shown the connectiontimout value 30000 whereas I have set to 700000 in the httpconduit.

Please help.
soapContext.xml

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns:cxf="http://camel.apache.org/schema/cxf"
xmlns:jaxrs="http://cxf.apache.org/jaxrs"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.springframework.org/schema/beans"
xmlns:http="http://cxf.apache.org/transports/http/configuration"
xmlns:camel="http://cxf.apache.org/transports/camel"
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://camel.apache.org/schema/cxf
http://camel.apache.org/schema/cxf/camel-cxf.xsd
http://camel.apache.org/schema/spring
http://camel.apache.org/schema/spring/camel-spring.xsd
http://cxf.apache.org/jaxrs
http://cxf.apache.org/schemas/jaxrs.xsd
http://cxf.apache.org/transports/camel
http://cxf.apache.org/transports/camel.xsd">
<import resource="applicationContext.xml"/>
<bean class="org.apache.cxf.feature.LoggingFeature" id="loggingFeature"/>

<bean class="com.endpoint.LoginEndpoint" id="loginEndPoint"/>


<bean class="com.endpoint.impl.LoginEndpointImpl" id="niLoginEndPointImpl"/>

<bean class="com.util.AuthenticationFilter" id="authenicationFilter"/>
<bean class="com.processor.AIRestPostProcessor" id="aiRestServerProcessor"/>
<cxf:rsServer address="http://localhost:9001/" id="nRsServer" staticSubresourceResolution="true">
<cxf:serviceBeans>
<ref bean="niLoginEndPointImpl"/>
</cxf:serviceBeans>
<cxf:providers>
<ref bean="authenicationFilter"/>
<bean class="com.fasterxml.jackson.jaxrs.json.JacksonJsonProvider"/>
<bean class="com.fasterxml.jackson.jaxrs.json.JacksonJaxbJsonProvider"/>
</cxf:providers>
</cxf:rsServer>
<cxf:rsServer address="/" id="aiRsServer"
loggingFeatureEnabled="true" loggingSizeLimit="-1">
<cxf:providers>
<bean class="com.fasterxml.jackson.jaxrs.json.JacksonJsonProvider"/>
<bean class="com.fasterxml.jackson.jaxrs.json.JacksonJaxbJsonProvider"/>
</cxf:providers>
<cxf:serviceBeans>
<ref bean="loginEndPoint"/>
</cxf:serviceBeans>
</cxf:rsServer>
<http:conduit
name="{http://localhost:9001/}*.http-conduit">
<http:client
ConnectionTimeout="700000" ReceiveTimeout="700000"/>
</http:conduit>
<cxf:rsClient address="http://localhost:9001/" id="rsClient">
<cxf:providers>
<bean class="com.fasterxml.jackson.jaxrs.json.JacksonJsonProvider"/>
<bean class="com.fasterxml.jackson.jaxrs.json.JacksonJaxbJsonProvider"/>
</cxf:providers>
</cxf:rsClient>
<camelContext id="context-fbf56f63-2d1c-46cf-9bcd-3d9221a80da6" xmlns="http://camel.apache.org/schema/spring">
<route id="_route0">
<from id="restServer" uri="cxfrs:bean:aiRsServer?ignoreDeleteMethodMessageBody=true"/>
<process id="restServerPostProcessor" ref="aiRestServerProcessor"/>
<to id="restClient" uri="cxfrs:bean:rsClient?throwExceptionOnFailure=false&amp;ignoreDeleteMethodMessageBody=true"/>
</route>
</camelContext>
</beans>