Hi helenlok,
CXF uses a bus to pick up the configuration from spring, if the camel-cxf
endpoint doesn’t have the bus you may have the trouble to set the client
configuration from spring.
http://willemjiang.blogspot.com (English)
http://jnn.iteye.com (Chinese)
Twitter: willemjiang
Weibo: 姜宁willem
On October 14, 2016 at 3:40:18 PM, helenlok (helenlok1...@gmail.com) wrote:
> Hi, I'm trying to edit the default timeout for my web service to wait for a
> response where it is set with a Thread.sleep for 5000 ms.
>
> I set the timeout to be 1000 ms using http-conf:client and it suppose to be
> timeout in 1000 ms seconds instead but nothing occurs.
>
> Can someone enlighten me as to what I am doing wrong?
>
> I had to edit out some of the names of my config file, but everything is
> listed below.
>
> Thanks a lot.
>
> (Config file below)
>
>
>
> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xmlns:camel="http://camel.apache.org/schema/spring";
> xmlns:cxf="http://camel.apache.org/schema/cxf";
> xmlns:context="http://www.springframework.org/schema/context";
>
> xmlns:http-conf="http://cxf.apache.org/transports/http/configuration";
> xsi:schemaLocation="http://www.springframework.org/schema/beans
> http://www.springframework.org/schema/beans/spring-beans.xsd
> http://www.springframework.org/schema/context
> http://www.springframework.org/schema/context/spring-context.xsd
> http://camel.apache.org/schema/spring
> http://camel.apache.org/schema/spring/camel-spring.xsd
> http://camel.apache.org/schema/cxf
> http://camel.apache.org/schema/cxf/camel-cxf.xsd
> http://cxf.apache.org/transports/http/configuration
> http://cxf.apache.org/schemas/configuration/http-conf.xsd";>
>
>
> > ConnectionTimeout="1000"/>
>
>
>
>
> > uri="cxf:http://someservice?dataFormat=PAYLOAD&wsdlURL=http://someservice?wsdl&";
> >
> id="endpointa" />
>
> > uri="cxf:http://someservice1?dataFormat=PAYLOAD&wsdlURL=http://someservice1?wsdl&";
> >
> id="endpointb" />
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/http-conf-client-not-working-tp5788755.html
>
> Sent from the Camel - Users mailing list archive at Nabble.com.
>