<?xml version="1.0"?>
<dds xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:noNamespaceSchemaLocation="../../resource/schema/rti_routing_service.xsd">

    <routing_service name="SquareRouter">

        <annotation>
            <documentation>
                <![CDATA[
                Routes the Square topics from domain 0 to domain 1 
                ]]>
            </documentation>
        </annotation>

        <domain_route name="DomainRoute">

            <participant name="domain0">                
                <domain_id>0</domain_id>                
            </participant>

            <participant name="domain1">
                <domain_id>1</domain_id>
            </participant>

            <session name="Session">
                
                <topic_route name="RouteSquare">
                     <input participant="domain0">
                         <topic_name>Square</topic_name>
                         <registered_type_name>ShapeType</registered_type_name>
                     </input>
                     <output participant="domain1">
                         <topic_name>Square</topic_name>
                         <registered_type_name>ShapeType</registered_type_name>
                     </output>
                </topic_route>
                
            </session>
            
        </domain_route>
        
    </routing_service>
</dds>

