This content has been marked as final.
Show 2 replies
-
1. Re: SwitchYard fault handling
splatch May 8, 2013 7:22 AM (in response to krivko)1 of 1 people found this helpfulHey,
There is a org.switchyard.bus.camel.ErrorListener interface. If you will implement it and annotate with @Named in CDI deployment unit it will receive notification about exceptions occured during mediation. However you should not affect the message here, since it's rather for storing message somewhere else for audit purposes. If you want transform SOAP Fault then the best usecase is custom Transformer called during handling fault repiles. To verify payload types just enable debug logging for org.switchyard.handlers category.
-
2. Re: SwitchYard fault handling
krivko May 9, 2013 9:23 AM (in response to splatch)Thanks for the useful tip!
The SOAP binding I mentioned was only an example
Regards!