Hi,

I wanted to create a camel route with which it is possible to invoke various
SOAP-WebServices.
I ended up with following:

from("direct:Invoke").recipientList(this.header("WSAddress"));

and 

Document response = template.requestBodyAndHeader("direct:Invoke", request,
"WSAddress", "spring-ws:" + address.toString(), Document.class);

For testing purpose I created a WS that needs about 5 minutes to response.
Calling it directly with SoapUI I'm getting of course a
/ERROR:java.net.SocketTimeoutException: Read timed out/.
But with posted camel route there isn't a timeout.

Now my question is how spring-ws component handles long running Web Services
concerning timeouts for example? What's the mechanism? Async or sync?
Callback? Or has spring-ws just a higher default timeout?
It would be nice if someone could explain it to me. 

With kind regards.




--
View this message in context: 
http://camel.465427.n5.nabble.com/spring-ws-timeout-question-tp5730111.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to