Error handling in mediations

The actions taken in the event of an error occurring during mediation processing are summarized in the following table:

Example

Table 1. Actions and errors in mediation processing
Error Action taken
Unchecked runtime exception
  • The message is sent to the exception destination.
  • Any transaction is rolled back.
Checked message context exception
  • The message is sent to the exception destination.
  • Any transaction is committed.
Enterprise JavaBeans™ (EJB) exception
  • Message is eligible for re-mediation.
An error occurs in the process of calling a mediation.
  • The mediation is not called.
  • The message is eligible for re-mediation.
The mediation returns true, and the message is not well formed.
  • The original pre-mediated message is sent to the exception destination.
  • Any transaction is committed.
Reference topic    

Terms of Use | Feedback

Last updated: Oct 20, 2010 7:53:43 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=compass&product=was-nd-dist&topic=rjp0030_
File name: rjp0030_.html