On 2010-7-14, at 下午7:42, Anto wrote:
Hi all,
When CXF BC provider gets a connection failure(external web
service is
down) it converts exception to JBIFault and sets this in the
exchange fault.
Is it the right behavior? I think any system exception like this
should be
propagated to the caller so that it can be handled using an error
handler.
I expect CXF BC to throw an exception so that the exception
handler in
Camel can handle the error. Or is there any other was to catch
JBIFault in
an efficient way in Camel error handler?
Hi,
You need configure handleFault for camel route to handle JBI fault.
Freeman
Anto
--
View this message in context:
http://servicemix.396122.n5.nabble.com/CXF-CB-provider-not-throwing-exception-on-connection-failure-tp1092782p1092782.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
--
Freeman Fang
------------------------
Open Source SOA: http://fusesource.com
Apache Servicemix:http://servicemix.apache.org
Apache Cxf: http://cxf.apache.org
Apache Karaf: http://karaf.apache.org
Apache Felix: http://felix.apache.org