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
- Open the flow service for which the Resource monitoring service
must be configured.
- 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 drop-down menu.
- Configure the flow service as per your use case.
- 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.
- 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.