webMethods7.1.2: I would like to monitor when a JMS Trigger is suspended. I have pursued a couple different options (listed below) but can’t find a good fit. I’m assuming there’s a way to do it, just can’t find it in the doco. Please review my list below and provide options. Thanks.
-
Resource Monitoring Service - I discarded this, as the doco only indicates that it is called on transient errors. The monitor I want to write needs notify me WHENEVER the trigger is suspended for ANY reason.
-
Event Handler - I have tested with JMS Delivery and Retrieval Failures but didn’t my event didn’t fire in all cases. I have tested with Alarm Event, but apparently suspending the trigger is not an alarm. I can get this to work with and Exception Event, but I don’t like this. It is not specific enough, and I don’t feel it would be as accurate as a monitoring service that is querying IntegrationServer directly about state of the trigger.
-
Custom Java Service - I have not written this yet, and am hoping for something ‘more in the box’. I know there is an API (JMSTriggerFacade.getState()) that seems like it would work. I would simply put this in a scheduled flow.
Thanks for your time.