<?xml version="1.0"?>
<metaproxy xmlns="http://indexdata.com/metaproxy" version="1.0">
  <start route="start"/>
  <routes>
    <route id="start">
      <filter type="frontend_net">
        <threads>10</threads>
        <port>@:9000</port>
      </filter>
      <filter type="log">
        <message>Frontend</message>
      </filter>
      <filter type="virt_db">
        <virtual>
          <database>loc</database>
          <target>lx2.loc.gov:210/LCDB_MARC8</target>
        </virtual>
        <virtual>
          <database>idgils</database>
          <target>z3950.indexdata.com/gils</target>
        </virtual>
        <virtual>
          <database>all</database>
          <target>z3950.indexdata.com/gils</target>
          <target>lx2.loc.gov:210/LCDB_MARC8</target>
        </virtual>
      </filter>
      <filter type="multi">
        <target route="group1">lx2.loc.gov:210/LCDB_MARC8</target>
        <target route="group2">z3950.indexdata.com/gils</target>
      </filter>
      <filter type="bounce"/>
    </route>
    <route id="group1">
      <filter type="query_rewrite">
        <xslt stylesheet="../etc/pqf2pqf.xsl"/>
      </filter>
      <filter type="log">
        <message>LoC</message>
      </filter>
      <filter type="z3950_client">
        <timeout>30</timeout>
      </filter>
      <filter type="bounce"/>
    </route>
    <route id="group2">
      <filter type="log">
        <message>Gils</message>
      </filter>
      <filter type="z3950_client">
        <timeout>30</timeout>
      </filter>
      <filter type="bounce"/>
    </route>
  </routes>
</metaproxy>
