When first creating an adapter, and iterating through rounds of debugging, you may want to keep a record of ALL the messages submitted.
Note for production
- Regardless of environment, there is a maximum combined size for all of a topic's subscriptions!
- Do not leave a debug subscription active in the production environment.
- If this is a very-active pre-production environment, monitor and purge this debug subscription regularly.
For Development
Create this message archive with the "Debug Subscription" pattern.
Debug subscription
There isn't a message archive by default. However, you can simulate this by creating an additional listener called 'debug' for a topic. This will get a copy of every message, and they won't be deleted.
If it grows larger than the default 1 GB messages, all further posts by the CMMS adapter will fail.
To continue
Within the Subscriptions for the Topic, click on Create New:
Name the subscription
- "debug", or
- include the date and your initials in the name so that you and others know who created it and when.
- Personally, I've started appending my initials and the date the subscription was created. This gives me a quick way to tell if a non-production environment has been used recently.