We use universal messaging for pub/sub transactions with webMehtods. Recently we have a few triggers which are getting stuck and to resolve the issue, we have to either reset the trigger or reset the IS.
Is there a way we could set a notification on the trigger queue such that whenever stuck, we could get an email notification about the same?
I think you need to write a custom Java service with help of Java UM API guide.
I believe there is one function called getQueueSize which will return the integer value.
even when the queue size increases above certain values this is no indicator that the queue is really stuck.
You should check for the trigger monitoring service which can be used to send an email when certain situations occur.
Could you elaborate more on the trigger monitoring service?
when the trigger is configured for “Suspend and Retry later” as ErrorHandling method, you must provide a monitoring service for determing when to resume the trigge processing.
From Service Development Help, Chapter 28:
Note: If you want Integration Server to suspend the webMethods
messaging trigger and retry it later, you must provide a resource
monitoring service that Integration Server can execute to
determine when to resume the webMethods messaging trigger.
For more information about building a resource monitoring
service, see Publish-Subscribe Developer’s Guide.
The Informations about how to build a monitoring service can be found in appendix B in the Publih-Subscribe Developer´s Guide.