Software AG Products 10.7 | Integrating On-Premises and Cloud Applications | Integration Server Built-In Services | Trigger Folder | Summary of Elements in this Folder | pub.trigger:resourceMonitoringSpec
 
pub.trigger:resourceMonitoringSpec
WmPublic. Specification for the signature of a resource monitoring service.
Input Parameters
None.
Output Parameters
isAvailable
String Indicates whether the resources needed by the trigger (webMethods messaging trigger or JMS) to perform exactly-once processing or to execute the trigger service are available. The value of this field determines whether Integration Server resumes the trigger or re-executes the resource monitoring service. Integration Server continues to execute a resource monitoring service until the value of isAvailable is "true" or the maximum retry attempts have been made. The isAvailable field must have one of the following values:
*true to indicate that the resources associated with the trigger are available. For a webMethods messaging trigger, Integration Server resumes document retrieval and document processing for the trigger. For a JMS trigger, Integration Server enables the trigger. For an MQTT trigger, Integration Server enables the trigger.
*false to indicate that the resources associated with the trigger are not available. Integration Server will not resume the trigger.
Usage Notes
The pub.trigger:resourceMonitoringSpec must be used as the service signature for any service used as a resource monitoring service. A resource monitoring service determines whether the resources associated with a trigger (webMethods messaging trigger, JMS, or MQTT) are available for exactly-once processing, document pre-processing, or message/document processing. Integration Server executes a resource monitoring service after retry failure occurs for the trigger or when the document resolver service fails because of a run-time exception. For more information about building a resource monitoring service, see the Publish-Subscribe Developer’s Guide.