-
1. Re: Camel doesn't recognize faults as exceptions
alexander.durnev Mar 4, 2013 6:46 AM (in response to alexander.durnev)I use a cxf jaxws client bean as a workaround currently.
-
2. Re: Camel doesn't recognize faults as exceptions
njiang Mar 5, 2013 7:50 AM (in response to alexander.durnev)It is strange, I just wrote an unit test but cannot reproduce the error.
Can you paste the full camel route ?
The change of camel-cxf recently is to honor the Message Exchange Pattern. But I don't think it could cause the trouble that you meet.
-
3. Re: Camel doesn't recognize faults as exceptions
alexander.durnev Mar 11, 2013 4:09 AM (in response to njiang)My camel context looks as following (I've simplified it):
-
-
I've performed the following steps:
I've changed targeted web service parameters, so it references on the non-existent server;
I've performed a request to the bundle via http;
I see the trace back with "Connection refused" message in the log file, but with WARN level (!!!), so it has logged outside of my bundle;
I don't see a log entry with ERROR level that I've expected;
I see that the route wasn't stopped and a secondRoute was executed, so I'm absolutely sure that the doCatch instruction wasn't executed.
-
4. Re: Camel doesn't recognize faults as exceptions
njiang Mar 18, 2013 2:48 AM (in response to alexander.durnev)Hi,
I wrote some simple test to reproduce the error, but I cannot reproduce it.
From the route and you description, I cannot tell anything wrong.
Can you just try to send a simple test case for us to reproduce the error?
Regards,
Willem