All Tamino processors have a common config
input, describing the
database connection and collection.
The configuration of the Tamino processors can be done in two ways: either
system-wide via the OPS
Properties, or locally for a specific instance of the processor through
the config
input. The local configuration takes precedence if
available.
2.1.1.
config Input
The config
input document specifies the URL of the Tamino
server, the credentials to use when connecting and the collection to
access. The following table describes the configuration elements.
Name |
Description |
url
|
Tamino database URL. |
username
|
Username to authenticate with the server |
password
|
Password to authenticate with the server |
collection
|
XML Collection to use |
This RelaxNG schema describes the expected
document.
<element name="config" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"> <interleave> <optional> <element name="url"> <data type="anyURI"/> </element> </optional> <optional> <element name="username"> <data type="string"/> </element> </optional> <optional> <element name="password"> <data type="string"/> </element> </optional> <element name="collection"> <data type="string"/> </element> </interleave> </element>
2.1.2. System-Wide Configuration
The Tamino processors can be configured in the OPS properties file, allowing all
instances to share the same configuration. The following processor
properties are allowed:
Name |
Type |
Description |
url
|
anyURI
|
Tamino Server URL. |
username
|
string
|
Username to authenticate with the server. |
password
|
string
|
Password to authenticate with the server. |
These properties as set for each Tamino processor as follows:
<property as="xs:anyURI" processor-name="oxf:tamino-query" name="url" value="http://localhost/tamino/welcome_4_1_4"/>
The following global properties are allowed:
Name |
Type |
Description |
oxf.tamino.isolation-degree
|
string
|
Isolation degree. This value is passed directly to Tamino. |
oxf.tamino.lock-mode
|
string
|
Lock mode. This value is passed directly to Tamino. |
These properties as set globally as follows:
<property as="xs:string" name="oxf.tamino.lock-mode" value="..."/>