DurabilityService QoS Policy

The DURABILITY SERVICE QosPolicy associated with a DataWriter is used to configure the HISTORY and the RESOURCE_LIMITS associated with the PRSTDataReaders and PRSTDataWriters.

By default, the HISTORY and RESOURCE_LIMITS of a PRSTDataReader and PRSTDataWriter with topic 'A' will be configured using the values specified in the XML file used to configure Persistence Service. To overwrite those values and use the values in the DURABILITY SERVICE QosPolicy of the first discovered DataWriter publishing 'A', you can use the tag <use_durability_service> in the persistence group definition:

<participant name="Part1">
    <domain_id>71</domain_id>
    <persistence_group name="PerGroup1" filter="*">
   	    ...
        <use_durability_service/>1</ use_durability_service>
	    ...
    </persistence_group>
</participant>

© 2018 RTI