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 refere

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 refere

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.

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: > > http://camel.apache.org/schema/spring";> > uri="http://localhost:8080/ws-example/ws-example"/> > > > > > > > > Should this work ? You are basically usi

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: http://camel.apache.org/schema/spring";> http://localhost:8080/ws-example/ws-example"/> Should this work ? Thanks -- View this message in context: http://camel.465427.n5.nabble.com/Setting-timeout-for-http-co

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: 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 service to wait for a > response. > > W

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. The external service it was call was sleeping for: try { Thread.sleep(6*5); } catch (Exception e) { LOG.info("Exception - Interrupted");} I was expecting a timeout after 1 minute, but the service retu

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: http://camel.

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, 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 mo

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 and none of them worked for me. I am running with ServiceMix 4.4.0 -- View this message in context: http://camel.465427.n5.nabble.com/Setting-timeout-

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