Designing a Fault Policy with Multiple Rejection Handlers
If you design a fault policy that uses the action handler for rejected messages, note that only one write action can be performed. Multiple write actions cannot be performed, even if you define multiple rejection handlers, as shown in the following example. In this case, only the first rejection handler defined (for this example, ora-queue
) is executed.
<faultName xmlns:rjm="http://schemas.oracle.com/sca/rejectedmessages" name="rjm:FileIn"> <condition> <action ref="ora-queue"/> </condition> </faultName> <faultName xmlns:rjm="http://schemas.oracle.com/sca/rejectedmessages" name="rjm:FileIn"> <condition> <action ref="ora-file"/> </condition> </faultName>