S. Ali Tokmen wrote:
Hello

On 05/08/2010 11:23, Claus Ibsen wrote:
Yes if a Camel Message has been marked as a fault then the routing engine will not continue routing it.

Thank you for this information.

On the other hand, I see that if the File component has a failure (I/O error, for instance), it will throw an exception and not return a Fault.

Similarly, the external Bean I'm calling tends to generate exceptions and not return Fault objects.

Is there any possibility the support I had mentioned beforehand to be added to CAMEL-CXF's fault generation?

If you just throw an normal exception, you may need to set the Fault detail yourself.
As CxfConsumer doesn't know how to deal with it.


If not, I can of course keep my processor, which works well when defined in an onException(...) clause.
Yes, with the onException you write your customer code to build the SOAPFault yourself.


Cheers

S. Ali Tokmen
[email protected]

Office: +33 4 76 29 76 19
GSM:    +33 66 43 00 555

Bull, Architect of an Open World TM
http://www.bull.com



Willem
----------------------------------
Apache Camel, Apache CXF committer
Open Source Integration http://www.fusesource.com
Blog http://willemjiang.blogspot.com
Tiwtter http://twitter.com/willemjiang

Reply via email to