Timeout for http-conf:client doesn't seem to work

2016-10-14 Thread helenlok
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

Re: Setting timeout for http-conf:client doesn't seem to work

2016-02-24 Thread HARINATHA REDDY BOLLAPU
Hi i'm facing issue with socket time out, in my scenario i need to handle SocketTimeOutException after response time completion of 5 mins. Here some one said we need to user "http" component. In CXF-SOAP service how we can use http.soTimeout cloud please explain me. if possible share any

Re: Setting timeout for http-conf:client doesn't seem to work

2016-02-24 Thread HARINATHA REDDY BOLLAPU
Hi i'm facing issue with socket time out, in my scenario i need to handle SocketTimeOutException after response time completion of 5 mins. Here some one said we need to user "http" component. In CXF-SOAP service how we can use http.soTimeout cloud please explain me. if possible share any

Re: Setting timeout for http-conf:client doesn't seem to work

2012-02-24 Thread JoeR
I have notice the same problem when I attempted to set the ReceiveTimeout also. I have tried many combinations for the conduit including http-conf:conduit name=*.http-conduit and none of them worked for me. I am running with ServiceMix 4.4.0 -- View this message in context:

Re: Setting timeout for http-conf:client doesn't seem to work

2012-02-24 Thread hellosir
Hi, thanks for replies. I have set it up uing *.http-conduit as well and still the same problem. Is there anything else I can try? So far, everything using camel has been great and its helped us finish our projects very efficiently. Just this timeout thing is giving us some problems at the

Re: Setting timeout for http-conf:client doesn't seem to work

2012-02-24 Thread Willem Jiang
Hi, 1000 is means timeout is 1 sencond. I don't think this value should work for you. Can you try to set it to be 6 or 30 ? On Fri Feb 24 23:45:33 2012, hellosir wrote: Hi, thanks for replies. I have set it up uing *.http-conduit as well and still the same problem. Is there anything

Re: Setting timeout for http-conf:client doesn't seem to work

2012-02-24 Thread hellosir
Hi Willem, I have set it to 6 as well, but it doesn't seem to take it. When I set it up as 6, I had my service do a Thread.sleep(7), but I never got a socket timeout error. It would complete as usual and return a response code 200. -- View this message in context:

Re: Setting timeout for http-conf:client doesn't seem to work

2012-02-24 Thread JoeR
I have attempted the following and it did not timeout. http-conf:conduit name=*.http-conduit http-conf:client ReceiveTimeout=6/ /http-conf:conduit The external service it was call was sleeping for: try { Thread.sleep(6*5); } catch (Exception e) {

Re: Setting timeout for http-conf:client doesn't seem to work

2012-02-24 Thread Daniel Kulp
What does the uri in the line: endpoint id=callRealWebService uri=/ look like? Is that a cxf URI or an http URI?I'd like to see the to setup for the route. Dan On Thursday, February 23, 2012 12:00:34 PM hellosir wrote: Hi, I'm trying to edit the default timeout for my web

Re: Setting timeout for http-conf:client doesn't seem to work

2012-02-24 Thread JoeR
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

Re: Setting timeout for http-conf:client doesn't seem to work

2012-02-24 Thread Daniel Kulp
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

Re: Setting timeout for http-conf:client doesn't seem to work

2012-02-24 Thread hellosir
Thanks so much, really appreciate it! This indeed gets it to work properly now. -- View this message in context: http://camel.465427.n5.nabble.com/Setting-timeout-for-http-conf-client-doesn-t-seem-to-work-tp5509173p5514172.html Sent from the Camel - Users mailing list archive at Nabble.com.

Setting timeout for http-conf:client doesn't seem to work

2012-02-23 Thread hellosir
Hi, I'm trying to edit the default timeout for my web service to wait for a response. When I try it using this config file, nothing seems to happen. I set the timeout to be 1000 ms, and I have a generic web service I am calling where I do a Thread.sleep for 4000 ms and a timeout error never

Re: Setting timeout for http-conf:client doesn't seem to work

2012-02-23 Thread Willem Jiang
It looks like you are not using the right conduit name. How about try to set the conduit name with *.http-conduit ? On Fri Feb 24 04:00:34 2012, hellosir wrote: Hi, I'm trying to edit the default timeout for my web service to wait for a response. When I try it using this config file, nothing