You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Bharathkumar Kandaswami <bh...@srinsofttech.com> on 2012/01/13 14:23:20 UTC

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

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