Im using the propagate_dispose_of_unregistered_instances data reader protocol allowing my datareaders the abillity to recieve the dispose message on the non exiting instances
Im trying to relay the removal message to another domain, where the instance does exist, the problem is that in order for the datareader to relay the dispose message, it needs the instance's key
Normally I would use the get_key_value method but the method throws a RET_CODE error as the data reader does not know the instance Im trying to retrieve.
Any suggestion on how I can retrieve the key?
Thank you.
Hi,
You can use the setting DataWriterProtocolQosPolicy::serialize_key_with_dispose
HTML docs:
https://community.rti.com/static/documentation/connext-dds/6.0.0/doc/api/connext_dds/api_c/structDDS__DataWriterProtocolQosPolicy.html#a7d8c1e77cbcf49d4b993d2e567c6468a
Let me know if that helps!
Hi erin,
that worked!
Ty