You are here: Part 6: RTI Persistence Service > Configuring Persistence Service > Enabling RTI Monitoring Library in Persistence Service

Enabling RTI Monitoring Library in Persistence Service

Persistence Service provides integrated support for RTI Monitoring Library (see Part 9: RTI Monitoring Library).

To enable monitoring in Persistence Service, you must specify the property rti.monitor.library for the participants that you want to monitor. For example:

<persistence_service name="monitoring_test"> 
    <participant name="monitoring_enabled_participant">
	<domain_id>54</domain_id> 
	<participant_qos>
		<property> 
		    <value>
		      <element> 
			<role_name>rti.monitor.library</role_name> 
			<value>rtimonitoring</value> 
			<propagate>false</propagate>
		      </element>
		    </value>
		</property> 
	 </participant_qos> 
        <persistence_group name="persistAll">
	  ... 
        </persistence_group>
    </participant> 
</persistence_service>

Since Persistence Service is statically linked with RTI Monitoring Library, you do not need to have it in your library search path.

For details on how to configure the monitoring process, see Configuring Monitoring Library.

© 2016 RTI