Hi,
I'm trying to modify the history qos on the fly - I've already created a DataReader. But when I try to set the new QoS policy I get an exception telling me this QoS is immutable (dds::core::ImmutablePolicyError):
terminate called after throwing an instance of 'dds::core::ImmutablePolicyError' what(): [D0100|Reader(80000007)|T=LTS_TestParticipant|SET_QOS]PRESPsService_setLocalEndpointProperty:!copyToReaderRW [D0100|Reader(80000007)|T=LTS_TestParticipant|SET_QOS]DDS_DataReader_set_qos:ERROR: Failed to set reader QoS set DataReader qos
So how can I modify this qos?
Thx,
Christian
Hello Christian,
Some qos can be changed even after the entity is created and some others no. From the manual
You can check out the full chapter here.
The only way would be to delete the reader, change the qos and create a new one with that QoS.
Does it make sense?
Best,
Gianpiero