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
    • Empower Replay: Limited Edition
    • 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
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • 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)
    • DataMiner DevOps Professional Program
      • About the DevOps Program
      • DataMiner DevOps Support
  • Downloads
  • More
    • DataMiner Releases & Updates
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Is it possible to subscribe to SRM resource changes in order to get automatic updates?

Solved1.82K views20th March 2023SRM SRM resources subscriptions
5
Brecht Deconinck [SLC] [DevOps Member]1.20K 20th March 2023 0 Comments

For an application manager (connector) we’re interested in some resource information.

Is it possible to subscribed to certain resource changes instead of needing to request the resource information continuously in order to detect changes?
If so, how would we be  able to do this? Is there already a library available for this?

Seppe Vanhee [SLC] [DevOps Member] Answered question 20th March 2023

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
5
Jorge Dias [SLC] [DevOps Enabler]4.78K Posted 20th March 2023 0 Comments

Hi Brecht,

You can subscribe on ‘ResourceManagerEventMessage’. As far as I know there’s no library for this, you need to use the raw message.

Brecht Deconinck [SLC] [DevOps Member] Selected answer as best 20th March 2023
6
Seppe Vanhee [SLC] [DevOps Member]336 Posted 20th March 2023 0 Comments

What Jorge mentioned is correct: you can subscribe to the ‘ResourceManagerEventMessage’, but by default this means you will receive an event for resource, resource pool and booking updates. You can filter your subscription to only receive resource updates. I would also recommend to disable the ‘Initial events’, which sends out an initial message with all resources after subscribing.

Some example code:

// If interested in all resources, you can use ‘new TRUEFilterElement<Resource>()’
// With the filter below you will only receive updates for resources containing ‘encoder’ in the name
var filter = ResourceExposers.Name.Contains(“Encoder”);
var subscriptionFilter = new SubscriptionFilter<ResourceManagerEventMessage, Resource>(filter)
{
// Don’t send the initial event
Options = SubscriptionFilterOptions.SkipInitialEvents
};

Seppe Vanhee [SLC] [DevOps Member] Answered question 20th March 2023
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