Configuring Resource Monitoring Service in flow services

Set up the Resource Monitoring Service to automatically retry at defined intervals until it verifies that the required resources are available and the subscriber is active

Before you begin

Make sure that a flow service is created.

Procedure

  1. Open the flow service for which the Resource monitoring service must be configured.
  2. For the input and output fields, set the specification reference to Messaging Resource Monitoring.
    After setting the specification, the isAvailable field is displayed in the output section of your flow service. Also, this flow service is displayed in the Subscriber Settings > Transient Error Handling > Resource Monitoring Servicedrop-down menu.
  3. Configure the flow service as per your use case.
  4. Map the output to the isAvailable field.
    • Set the isAvailable field to True if the resources needed by the subscriber are available.
    • Set the isAvailable field to False if the resources are not available. In this scenario, the instance waits for a short time (the default is 60 seconds) and then retries the resource monitoring service. The server keeps retrying at regular intervals until the service indicates that the resources are available and the subscriber is enabled.
  5. Save and run the flow service.
    To view the execution results for the resource monitoring service, go to the Monitor page and select the Flow service executions results and filter the results using the source as Messaging Resource Monitor.