Skip to content
DataMiner Dojo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Tutorials
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • YouTube Videos
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Agility
      • Learn more about Agile
        • Agile Webspace
        • Everything Agile
          • The Agile Manifesto
          • Best Practices
          • Retro Recipes
        • Methodologies
          • The Scrum Framework
          • Kanban
          • Extreme Programming
        • Roles
          • The Product Owner
          • The Agile Coach
          • The Quality & UX Coach (QX)
      • Book your Agile Fundamentals training
      • Book you Kanban workshop
    • >> Go to DataMiner Docs
  • DevOps
    • About the DevOps Program
    • Sign up for the DevOps Program
    • DataMiner DevOps Support
    • Feature Suggestions
  • Downloads
  • Swag Shop
  • PARTNERS
    • Business Partners
    • Technology Partners
  • Contact
    • Sales, Training & Certification
    • DataMiner Support
    • Global Feedback Survey
  • >> Go to dataminer.services

Subscription Management

Solved111 views12th November 2025Connector QAction subscriptions
2
Bruno Antonio125 10th November 2025 0 Comments

Hello community,

I was wondering if, inside a QA, there is any method/SLNET call to manage the subscriptions under a dma?

Thanks in advance

Bruno Antonio Selected answer as best 12th November 2025

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
1
Tom Waterbley [SLC] [DevOps Catalyst]9.36K Posted 12th November 2025 5 Comments

Hi Bruno,

There are several ways to use subscriptions in QActions.

The recommended way is to use the 'DMS Monitors' feature in the class library. This library also takes care of the cleanup of the subscriptions, which is very important to avoid memory leaks. See above links for more information.

For more advanced subscriptions that are not possible (yet) using above library you could also manage them yourself using the 'protocol.SLNet.RawConnection.AddSubscription()' method. This should only be used when you know what you're doing, and also don't forget to unsubscribe when the element is stopped or restarted.

Bruno Antonio Selected answer as best 12th November 2025
Bruno Antonio commented 12th November 2025

Hello Tom, thank you for your reply.

I am using already class library, however, what I am looking for is a method that guarantees that my subscription over a param is still active…in order to active it again if that breaks anyhow by an element restart.

I know that over Client Test tool it is possible to have "an overview" off all existing subscriptions, and this was the functionality that I was looking for.

Thanks in advance

Tom Waterbley [SLC] [DevOps Catalyst] commented 12th November 2025

Subscriptions should always remain active, also (for instance) after an element restart. That's why its so important to clean them up when not needed anymore.
The easiest is probably to keep track of the existing subscriptions yourself in a list or dictionary.

Bruno Antonio commented 12th November 2025

Hello Tom,

I was reading about the Cleanup Configuration documentation, and if that is as stated, that will work for me.
I created a table with a column state to control all my subscriptions.

A Monitor Cleanup Config is by default "attached" to a start monitor call?

Thank you!

Tom Waterbley [SLC] [DevOps Catalyst] commented 12th November 2025

Yes, if I'm not mistaken it also automatically subscribes to the element state of the element that creates the monitor. If that element is stopped, all subscriptions are also cleaned up.

Bruno Antonio commented 12th November 2025

Perfect! So I have everything in place.

Thanks

You are viewing 1 out of 1 answers, click here to view all answers.
Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs

[ Placeholder content for popup link ] WordPress Download Manager - Best Download Management Plugin