<dds xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://community.rti.com/schema/5.2.0/rti_record.xsd">
    <!-- ****************************************************************** -->
    <!-- Default user configuration file for RTI Recorder                   -->
    <!-- ****************************************************************** -->
    
    <!-- Default user configuration for Recorder used by Launcher. This file will be
         shown by Launcher in the Recording Service launch dialog. Users may add more
         configurations to this file or modify this configuration as they wish.
         By default, this configuration is set to record every field of every topic
         discovered in domain 0, in deserialized format. 
         Remote administration of the service is enabled on domain 0. To remotely 
         control the service, please use RTI Admin Console or RTI Record Shell 
         connecting to domain 0. -->
    <recorder name="recorderXmlType">
        <annotation>
            <documentation>
                Default configuration to record all topics and fields in domain 0.
                Remote administration is enabled in domain 1 and Distributed Logger
                is enabled with filter level set to warning.
            </documentation>
        </annotation>
        
        <verbosity> 1 </verbosity>
        
        <!-- Enable remote administration of Recorder in domain 1. Enable
             Distributed Logger with filter level set to warning. -->
        <remote_access>
            <enabled> true </enabled>
            <remote_access_domain> domain58 </remote_access_domain>
            <distributed_logger>
                <enabled> true </enabled>
                <filter_level>WARNING</filter_level>
            </distributed_logger>
        </remote_access>

        <!-- Specify where to store the recorded data. -->
        <recorder_database>
            <database_name> rti_recorder_default.dat </database_name>
        </recorder_database>

        <domain_type_config>
            <domain_group>
                <element>
                    <domain_filter>
                        <element>domain58</element>
                    </domain_filter>
                    <type_config>
                        <xml>
                            <file_group>
                                <element>
                                    <file_name>
                                        <element>HelloWorld.xml</element>
                                        <!-- Specify the XML type definition file name. -->
                                    </file_name>
                                    <type>
                                        <element>
                                            <type_name>HelloWorld</type_name>
                                            <!--Specify the type name you would like to record -->
                                        </element>
                                    </type>
                                </element>
                            </file_group>
                            <path>
                                <element>.</element>
                                <!--Specify path for the Recording Service config file (e.g., HelloWorld_rec_cfg.xml) and 
                                 type definition file (e.g.,HelloWorld_type.xml). Here, "." represents the local directory -->
                            </path>
                        </xml>
                    </type_config>
                </element>
            </domain_group>
        </domain_type_config>      
      
        <!-- Create a DDS DomainParticipant in domain 0 with default QoS. 
             This domain will be used for remote administration and Distributed
             Logger too. -->
        <domain name="domain58">
            <domain_id> 58 </domain_id>
            <deserialize_mode>RTIDDS_DESERIALIZEMODE_ALWAYS</deserialize_mode>
        </domain>

        <!-- Create a TopicGroup. A TopicGroup is a collection of Topics 
         whose names match the topic_expr. The field_expr specifies 
         which fields in the Topics to record. Note that a TopicGroup is 
         not bound to a particular domain yet. 
         In this example, the TopicGroup All means all fields in all Topics -->
        <topic_group name="All">
            <topics>
                <topic_expr> * </topic_expr>
            </topics>
            <field_expr> * </field_expr>
        </topic_group>

        <!-- Create a RecordGroup. A RecordGroup controls which TopicGroups
         are recorded for a set of domains. Each recorded Topic is stored in 
         a table with the format "record_group.domain.Topic" 
         In this example, we want to record data from topics in TopicGroup "All"
         from "domain0." -->
        <record_group name="RecordAll">
            <!-- specify which domains to record from -->
            <domain_ref>
                <element> domain58 </element>
            </domain_ref>
            <!-- specify which topics to record -->
            <topic_ref>
                <element> All </element>
            </topic_ref>
        </record_group>
    </recorder>
    
</dds>
