IBM Support

DDS Tutorial: SubscriberPkg_Listener::dataReaderListener is not reacting to published topics in IBM Rational Rhapsody

Troubleshooting


Problem

DDS Tutorial: SubscriberPkg_Listener::dataReaderListener is not reacting to published topics in IBM Rational Rhapsody

Symptom

Following the tutorial up to "Lesson 12: Add code to receive updates about your topic", the subscriber process is not reacting to any published topics. When debugging the application the Subscriber event "on_data_available" is not being triggered.

Resolving The Problem

Make sure you have added the DDS::Listener dependency from the Subscriber class dataReader port to your DataReaderListener derived class. Not from the Subscriber class to your DataReaderListener derived class.

[{"Product":{"code":"SSB2MU","label":"IBM Engineering Systems Design Rhapsody"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"General Information","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"8.0;8.0.1;8.0.2;8.0.3;8.0.4;8.0.5;8.0.6;8.1;8.1.1;8.1.2;8.1.2.1;8.1.3;8.1.4;8.1.5;8.2","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Product Synonym

Rational Rhapsody

Document Information

Modified date:
27 May 2022

UID

swg22002006