enableNotifications
Exception Strategy Configuration Reference
Mule runtime engine version 3.8 reached its End of Life on November 16, 2021. For more information, contact your Customer Success Manager to determine how to migrate to the latest Mule version. |
This page provides details on the elements you configure for exception strategies. This information is pulled directly from mule.xsd
and is cached. If the information appears to be out of date, refresh the page. For more information on exception strategies, see Error Handling.
Default Exception Strategy
Provides default exception handling.
Name | Description |
---|---|
Determines whether Type: |
|
|
Name of the exception strategy used in ref attribute of 'exception-strategy' element. Type: |
|
The expression to be evaluated to determine if this exception strategy should be executed. This should always be a boolean expression. Type: |
|
Determines whether to log the handled exception to its standard logger in the ERROR level before being handled. Default is true. Type: |
|
Stop the flow/service when an exception occurs. Restart the flow/service manually after this (for example, using JMX). Type: |
Name | Cardinality | Description |
---|---|---|
|
0..1 |
These exceptions are considered "delivered" after handling by the exception strategy. Any exception not accepted by this filter is redelivered/rolled back. You can set a comma-separated list of wildcard patterns that’s matched against the fully qualified class name of the current exception. |
|
0..1 |
These exceptions are redelivered/rolled back after handling by the exception strategy. You can set a comma-separated list of wildcard patterns that’s matched against the fully qualified class name of the current exception. |
|
0..1 |
A message processor A placeholder for message processor elements. |
|
0..1 |
An outbound endpoint A placeholder for outbound endpoint elements. Outbound endpoints dispatch messages to the underlying transport. |
|
0..1 |
A placeholder for message processor elements. |
Custom Exception Strategy
A user-defined exception strategy.
Name | Description |
---|---|
|
Determines whether ExceptionNotifications are fired from this strategy when an exception occurs. Default is true. Type: |
|
Name of the exception strategy that’s used in ref attribute of Type: |
|
The expression that’s evaluated to determine if this exception strategy should be executed. This should always be a boolean expression. Type: |
|
A class that implements the ExceptionListener interface. In addition, if an Type: |
Name | Cardinality | Description |
---|---|---|
|
0..1 |
These exceptions are considered "delivered" after handling by the exception strategy. Any exception not accepted by this filter is redelivered/rolled back. You can set a comma-separated list of wildcard patterns that are matched against the fully qualified class name of the current exception. |
|
0..1 |
These exceptions are redelivered/rolled back after handling by the exception strategy. You can set a comma-separated list of wildcard patterns that is matched against the fully qualified class name of the current exception. |
|
0..1 |
A message processor A placeholder for message processor elements. |
|
0..1 |
An outbound endpoint A placeholder for outbound endpoint elements. Outbound endpoints dispatch messages to the underlying transport. |
|
0..1 |
A placeholder for message processor elements. |
|
0..* |
Spring-style property element for custom configuration. |