Network Deployment (Distributed operating systems), v8.0 > Reference > Developer detailed usage information


Error handling in mediations

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


Example

Actions and errors in mediation processing. The first column of the table lists the errors that occur during the mediation processing. The second column describes the actions to be taken when the errors occur.

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.

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.


Exception destinations
Restarting a mediation that has stopped on error

+

Search Tips   |   Advanced Search