Integration Server 10.15 | Publish-Subscribe Developer’s Guide | Building a Resource Monitoring Service | Service Requirements
 
Service Requirements
A resource monitoring service must do the following:
*Use the pub.trigger:resourceMonitoringSpec as the service signature.
*Check the availability of the resources used by the document resolver service and all the trigger services associated with a trigger. Keep in mind that each condition in a trigger can be associated with a different trigger service. However, you can only specify one resource monitoring service per trigger.
*Return a value of “true” or “false” for the isAvailable output parameter. The author of the resource monitoring service determines what criteria makes a resource available.
*Catch and handle any exceptions that might occur. If the resource monitoring service ends because of an exception, Integration Server logs the exception and continues as if the resource monitoring service returned a value of “false” for the isAvailable output parameter.
The same resource monitoring service can be used for multiple triggers. When the service indicates that resources are available, Integration Server resumes all the triggers that use the resource monitoring service.