Download RTI Data Distribution Service User`s Manual

Transcript
22.2 XML Configuration File
❏ File specified using the command line option, -cfgFile
The command-line option -cfgFile (see Table 23.1 in the Getting Started Guide)
can be used to specify a configuration file.
22.2
XML Configuration File
The configuration file uses XML format. Let's look at a very basic configuration file, just
to get an idea of its contents. You will learn the meaning of each line as you read the rest
of this chapter:
QoS Configuration (Section 22.3)
Configuring the RTI Persistence Service Application (Section 22.4)
Configuring Remote Administration (Section 22.5)
22. Configuring RTI
Persistence Service
❏
❏
❏
❏
❏
❏
Configuring the Persistent Storage (Section 22.6)
Configuring Participants (Section 22.7)
Creating Persistence Groups (Section 22.8)
Example Configuration File
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- A Configuration file may be used by several
persistence services specifying multiple
<persistence_service> entries
-->
<dds>
<!-- QoS LIBRARY SECTION -->
<qos_library name="QosLib1">
<qos_profile name="QosProfile1">
<datawriter_qos name="WriterQos1">
<history>
<kind>DDS_KEEP_ALL_HISTORY_QOS</kind>
</history>
</datawriter_qos>
<datareader_qos name="ReaderQos1">
<reliability>
<kind>DDS_RELIABLE_RELIABILITY_QOS</kind>
</reliability>
<history>
<kind>DDS_KEEP_ALL_HISTORY_QOS</kind>
22-3