Name

multi — Metaproxy Package Multiplexer Module

DESCRIPTION

This filter multiplexes packages.

The multi filter consists of zero or more <target> elements. If a target matches a given target specified as CDATA in the target element, the multi filter will route traffic to the route given by the route attribute.

A target element is not required for multi-plexing to work. It merely serves as a way to route differently.

If an empty <hideunavailable> element is placed inside the multi filter, then unavailable databases are not reported to the client, but simply ignored (unless every one of the databases is unavailable).

SCHEMA

# Metaproxy XML config file schema

namespace mp = "http://indexdata.com/metaproxy"

filter_multi =
  attribute type { "multi" },
  attribute id { xsd:NCName }?,
  attribute name { xsd:NCName }?,
  element mp:target {
    attribute route { xsd:string },
    xsd:string
  }*,
  element mp:hideunavailable { empty }?,
  element mp:mergetype { xsd:string }?


   

EXAMPLES

A typical configuration looks like this:

    <filter type="multi">
     <target route="route1">z3950.loc.gov:7090/voyager</target>
     <target route="route2">bagel.indexdata.dk/gils</target>
     <target route="other">*</target>
    </filter>

   

SEE ALSO

metaproxy(1)

virt_db(3mp)

COPYRIGHT

Copyright (C) 2005-2011 Index Data