When an exception is thrown in a provider endpoint impl it is handled as a JBI error in most cases. Howeverm in some cases (i.e. SAXParseException) it may be useful to translate these exceptions into a JBI fault message which can then be handled by the exchange if needed. I've provided a simple patch to the base ProviderEndpoint class to provide setting exceptiosn that will be handled as JBI faults.
The following are a few examples of how the xbean.xml can be configured to handle exceptions:
|EIP Filter should propagate exceptions||Open||Unassigned|
|EIP pattern to re-route the flow in case of an error / fault.||Open||Unassigned|