﻿<?xml version="1.0" encoding="utf-8" ?>

<dds xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xsi:noNamespaceSchemaLocation="http://community.rti.com/schema/6.1.0/rti_persistence_service.xsd">


	<persistence_service name="persistence_service_database">
		<!-- Store any data using an external database-->
		<persistent_storage>
			<external_database>
				<!-- DSN used to connect to the database using ODBC. You 
                    should create this DSN through the ODBC settings on Windows systems, or in 
                    your .odbc.ini file on UNIX/Linux systems. -->
				<dsn>test</dsn>
			</external_database>
		</persistent_storage>

		<!-- Create a participant to monitor and persist data on domain 0-->
		<participant name="ChatServicePersitenceParticipant">
			<domain_id>0</domain_id>
			<persistence_group>
				<filter>*</filter>

				<datawriter_qos 
					base_name="BuiltinQosLib::Generic.StrictReliable" />
				<datareader_qos
					base_name="BuiltinQosLib::Generic.StrictReliable" />
			</persistence_group>
		</participant>
		
	</persistence_service>
</dds>
