<?xml version="1.0"?>
<metaproxy xmlns="http://indexdata.com/metaproxy" version="1.0">
  <start route="start"/>
  <filters>
    <filter id="frontend" type="frontend_net">
      <threads>10</threads>
      <port>@:9000</port>
    </filter>
    <filter id="backend" type="z3950_client">
      <timeout>30</timeout>
    </filter>
  </filters>
  <routes>
    <route id="start">
      <filter refid="frontend"/>
      <filter type="log">
        <message>Front</message>
      </filter>
      <filter type="record_transform">
        <retrievalinfo xmlns="http://indexdata.com/yaz" version="1.0">
          <retrieval syntax="usmarc">
            <backend name="marcxml" syntax="xml">
              <marc inputcharset="utf-8" inputformat="xml" outputcharset="marc-8" outputformat="marc"/>
            </backend>
          </retrieval>
          <retrieval syntax="xml"/>
          <retrieval syntax="opac"/>
          <retrieval syntax="grs-1"/>
          <retrieval syntax="unimarc"/>
        </retrievalinfo>
      </filter>
      <filter type="sort">
        <sort ascending="true" debug="true" namespaces="marc=http://www.loc.gov/MARC21/slim" prefetch="5" xpath="/marc:record/marc:datafield[@tag='245']/marc:subfield[@code='a']"/>
      </filter>
      <filter type="record_transform">
        <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="retrieval-info.xml"/>
      </filter>
      <filter type="log">
        <message>Back</message>
      </filter>
      <filter refid="backend"/>
      <filter type="bounce"/>
    </route>
  </routes>
</metaproxy>
