Error Groups in Mediator
You can specify an action for an error type or error group while defining the conditions in a fault policy. In the previous examples, medns:mediatorFault
indicates that the error is a Mediator error, whereas medns:TYPE_FATAL_MESH
refers to an error group. An error group consists of one or more child error types. TYPE_ALL
is an error group that contains all Mediator errors.
The following list describes various error groups contained in the TYPE_ALL
error group:
-
TYPE_DATA
: Contains errors related to data handling.-
TYPE_DATA_ASSIGN
: Contains errors related to data assignment. -
TYPE_DATA_FILTERING
: Contains errors related to data filtering. -
TYPE_DATA_TRANSFORMATION
: Contains errors that occur during a transformation. -
TYPE_DATA_VALIDATION
: Contains errors that occur during payload validation.
-
-
TYPE_METADATA
: Contains errors related to Mediator metadata.-
TYPE_METADATA_FILTERING
: Contains errors that occur while processing the filtering conditions. -
TYPE_METADATA_TRANSFORMATION
: Contains errors that occur while getting the metadata for a transformation. -
TYPE_METADATA_VALIDATION
: Contains errors that occur during validation of metadata for Mediator (.mplan
file). -
TYPE_METADATA_COMMON
: Contains other errors that occur during the handling of metadata.
-
-
TYPE_FATAL
: Contains fatal errors that are not easily recoverable.-
TYPE_FATAL_DB
: Contains database-related fatal errors, such as aDatasource not found
error. -
TYPE_FATAL_CACHE
: Contains Mediator cache-related fatal errors. -
TYPE_FATAL_ERRORHANDLING
: Contains fatal errors that occur during error handling such asResubmission queues not available
. -
TYPE_FATAL_MESH
: Contains fatal errors from the Service Infrastructure such asInvoke service not available
. -
TYPE_FATAL_MESSAGING
: Contains fatal messaging errors arising from the Service Infrastructure. -
TYPE_FATAL_TRANSACTION
: Contains fatal errors related to transactions such asCommit can't be called on a transaction which is marked for rollback
. -
TYPE_FATAL_TRANSFORMATION
: Contains fatal transformation errors such as an error occurring because of the XPath functions used in a transformation.
-
-
TYPE_TRANSIENT
: Contains transient errors that can be recovered on a retry.-
TYPE_TRANSIENT_MESH
: Contains errors related to the Service Infrastructure. -
TYPE_TRANSIENT_MESSAGING
: Contains errors related to JMS such as enqueuing and dequeuing.
-
-
TYPE_INTERNAL
: Contains internal errors.