Configuring error handling for subscribers

Configure retry mechanisms to manage failures that occur during message processing to ensure that the integrations can be resumed or retried for reliable integration.

Before you begin

Ensure that a subscriber is created. For more information, see Creating subscribers.

Procedure

  1. From Events > Messaging, click the subscriber.
    The Subscriber details page is displayed.
  2. Click the Subscriber settings icon in the Subscribers page.
    The Subscriber settings dialog is displayed.
  3. Click the Error handling tab.
    The error handling options appear.
  4. To configure for fatal errors set one of the following values:
    1. Set Do not suspend the subscriber to ON if you want to suspend the subscriber when an error occurs. The default value is OFF.
  5. To configure for transient errors enter the following values:
    Max retry attempts
    Number of times that a flow service (started by the subscriber) must retry to process a message if it fails because of a transient error. The default value is Five. Setting it to zero indicates that the flow service does not retry to process the message. You can specify a value in the range from zero to 100.
    Retry interval
    Duration that the system waits before retrying to run the flow service again. The default value is 10 seconds. You can specify a value in the range from Four to 3600 (Four seconds to One hour).
    On retry failure
    Action to be taken after the retry count limit is reached. You can specify one of the actions.
    Throw exception
    Flow service stops processing the current message with an exception. The current message is acknowledged, and the subscriber starts processing the new messages.
    Suspend and retry later
    Recovers the message to the messaging provider and suspends the subscriber.
    Resource monitoring service
    Resource monitoring service monitors the availability of resources that are used by a Subscriber. Configure this field so that the instance keeps retrying at regular intervals until the service confirms the resources are available and the subscriber is enabled.

    Click the Add icon to create the flow service to monitor resource availability.

    When the flow service is created from Subscriber settings the specification reference is set to Messaging Resource Monitoring which is visible when you configure the flow service on the Flow Editor's Define input and output fields page. For more information, see Configuring Resource Monitoring Service in flow services.
    Note: The Resource monitoring service is enabled when the Suspend and retry later option is selected
  6. Click OK. The subscriber does the actions as configured whenever an error occurs.