Hello

On 05/08/2010 05:47, Willem Jiang wrote:
CXF FaultOutInterceptor will take care of it if you just throw the Fault message out from CxfConsumer.

Well, let's assume the route is configured like:

   from("cxf:...")
   .process(new FirstProcessor())
   .process(new SecondProcessor())
   .process(new ThirdProcessor())

In this case, if the first processor is the one to return the fault, and that it only returns a fault, then the second and third processor will be executed.

Whereas, if the processor throws the exception (generated by CXF and containing all @WebFault annotations, remember) then the second and third processor won't be executed.

Do you think my use case is wrong?

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

Reply via email to