1.72 Action Properties Dialog
Use to select the action to perform when a fault occurs.
The following predefined actions are available for selection when you initially access the Fault Policy Editor.
-
Abort
-
Human intervention
-
Java action
-
Replay scope
-
Rethrow fault
-
Retry
You can also select additional actions:
-
Invoke web service (WS)
-
Enqueue
-
File action
The Properties dialog is arranged in the following dialogs:
Abort, Human Intervention, Replay Scope, and Rethrow Fault
The Abort, Human Intervention, Replay Scope, and Rethrow Fault dialogs enable you to change the default reference to the action.
Element | Description |
---|---|
ID |
Enter a different value or accept the default reference to the action of |
Java Action
The Java Action dialog enables you to define Java action details.
Element | Description |
---|---|
ID |
Enter a name or accept the default reference to the action of |
Class |
Accept the default value of oracle.integration.platform.faultpolicy.IFaultRecoveryJavaClass or click the Browse icon to invoke the Class Browser dialog to select the Java class to use to correct actions. To invoke a Java class, you must select a class that implements the IFaultRecoveryJavaClass interface. The package name is oracle.integration.platform.faultpolicy. More |
Default Action |
Select the default action to perform when a fault occurs (human-intervention, replay, rethrow, retry, or abort). |
Property Set |
Select the property set. |
Return Values |
Return values provide an alternative to using the default fault policy. Return values enable you to specify an additional fault policy that is executed by providing a mapping from the output value (return value) of implemented methods to a fault policy. If the Java class returns the value you specify (for example, |
Value |
Click the row to enter a value (for example, |
Action |
Double-click the row to invoke a list for selecting an action (for example, default-abort). |
Add |
Click to add a value and select an action. |
Delete |
Click to delete a selected value and action. |
Retry
The Retry dialog enables you to define retry action details.
Element | Description |
---|---|
ID |
Enter a name or accept the default value of |
Retry Count |
Enter the specified number of times to retry. |
Retry Interval |
Enter the delay between retries (in seconds). |
Exponential Back off |
Select to increase the interval with an exponential back off. Exponential back off indicates the next retry attempt is scheduled at 2 x the delay, where delay is the current retry interval. For example, if the current retry interval is |
Retry Success Action |
Enter the retry success action. |
Retry Failure Action |
Select the action to take if the value specified for Retry Count is exceeded. |
Invoke WS, Enqueue, and File Action
This dialog enables you to create rejection handlers to handle message errors.
Element | Description |
---|---|
ID |
Enter a name or accept the default value. |
Invoke WS URI |
A rejected message can be handled by calling a web service. This field is only displayed if you selected invokeWS. More |
Enqueue URI |
You can enqueue a rejected message to a JMS queue as a JMS message with the appropriate context and payload. This field is only displayed if you selected enqueue. More |
Name |
You can create an error handler for messages by storing a rejected message in a file. This field is only displayed if you selected fileAction. More |
Location |
Enter the file location. This field is only displayed if you selected fileAction. |
Related Topics
How to Design a Fault Policy for Automated Fault Recovery with the Fault Policy Wizard in Developing SOA Applications with Oracle SOA Suite
Handling Faults with the Fault Management Framework in Developing SOA Applications with Oracle SOA Suite
Message Error Rejection Handlers in Understanding Technology Adapters