multi — Metaproxy Package Multiplexer Module
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).
# 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 }?