1 of 1 people found this helpful
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.
Thanks for the useful tip!
The SOAP binding I mentioned was only an example