Quantcast

How to capture and throw a fault from Camel when Camel Exchange times out after 60000 milliseconds while invoking a CXF endpoint.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

How to capture and throw a fault from Camel when Camel Exchange times out after 60000 milliseconds while invoking a CXF endpoint.

bharathk@srinsofttech.com
Hi Folks, I am trying to figure out a way to throw a fault from Camel when Camel Exchange times out after 60000 milliseconds while invoking a CXF endpoint. Please find the following scenario where I am facing this issue, SOAP UI == CXF Consumer == Consumer Camel == CXF endpoint Said the scenario, I am trying to capture a fault when the CXF endpoint does not respond within 60000 milliseconds, there is an exception thrown in my Consumer Camel saying THE EXCHANGE IS NOT RETURNED WITHIN 60000 milliseconds, but rather then an exception, is there a way I can get a fault message returned from my Consumer Camel so I can display a proper and human understandable fault string in the SOAP UI, right now I get a exception saying socket timed out in the SOAP UI and no response surfaces in the SOAP UI. Also if someone revert how to increase the socket timeout period in SOAP UI, that’s great!!!! Can someone throw some hints on this issue. Kind Regards, K.B.K
Loading...