JBoss Community Archive (Read Only)


Fault Propagation on IN_ONLY (Bean service and Camel reference bindings)

If MEP of the service contract is IN_ONLY, Bean service and reference bindings using camel component under the cover (e.g. JMS, File, (S)FTP(S), TCP/UDP, JPA, SQL, Mail, SAP, MQTT) used to ignore the fault of underlying camel exchange in SwitchYard 1.x. This behavior has been changed to propagate the fault back to consumer in SwitchYard 2.0. If you want to disable propagating fault back to the service consumer on IN_ONLY MEP, then you need to set "org.switchyard.propagateExceptionOnInOnly" property to false in your application domain. Domain properties are set via entries in the <domain> section of switchyard.xml.

        <property name="org.switchyard.propagateExceptionOnInOnly" value="false"/>
JBoss.org Content Archive (Read Only), exported from JBoss Community Documentation Editor at 2020-03-13 09:45:46 UTC, last content change 2015-02-09 07:56:30 UTC.