On Friday, February 24, 2012 1:45:23 PM JoeR wrote:
> In my case I was attempting something very simple:
> 
>   <camelContext xmlns="http://camel.apache.org/schema/spring";>
>     <endpoint id="callExternalWS"
> uri="http://localhost:8080/ws-example/ws-example"/>
>     <route>
>       <from uri="cxf:bean:source-WS?dataFormat=MESSAGE"/>
>       <to ref="callExternalWS"/>
>     </route>
>   </camelContext>
> 
> 
> Should this work ?


You are basically using the http component and not CXF by using an http URI 
for the "to".    Thus, you would need to check the docs for that component on 
how to configure any timeout:

http://camel.apache.org/http.html


Likely just add: 
?httpClient.soTimeout=5000

to the end of the URI there.




-- 
Daniel Kulp
dk...@apache.org - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com

Reply via email to