I created an alarm subscription using RESTFUL web services which creates an active alert subscription. I notice it disappears when the Spectrum Tomcat server is restarted.
How do I make them to stay permanent so that we do not have to re-create them every time Tomcat restarted?
Release: Any version of Spectrum
Poll the following URL on a regular interval to get the current active subscriptions on your client:
Then, check the active subscriptions for the subscription ID and if it doesn't exist, resend the POST subscription to start a new one.
The polling interval varies on your needs case. An average interval may be some time between 30 seconds and 5 minutes.