Cache Configuration - Summary‌

The delivered file ./etc/auth_dmz.xml contains the most important configuration parameters for the service as comment blocks (see table below).

All parameters are located within the Configure element.

<Configure class="com.ebd.hub.services.auth.MessageAuthenticationService">
...
</Configure>


Each parameter is defined in the following way (abstractly here).

<Set name="parameterName">parameterValue</Set>

Parameters in file ./etc/auth_dmz.xml:

Parameter

Function

Default Value

messageContext

Context of consumer queue of inner Authentication Service.

System

messageQueue

Name of consumer queue used for requests to the inner Authentication Service. It must match the name of the queue the inner Auth Service is registered to.

AuthCall

maxWait

Waiting time [ms] for the response of a synchronous message.

8000 (8 seconds)

defTargetService

Name the inner Authentication Service is registered with.

Authentication Service

defaultTarget

<host>:<port>, where the inner Message Service can be reached.

Port: 8020 (if only the host has been specified)

noCaching

true disables caching in general.

false

updatePeriod

Period [ms] for cache updates. Value 0 means no update. Negative values or values between 0 and 3000 are ignored.

900000 (15 minutes)

fullUpdatePeriod

Period [ms] after which the next update is a complete one. Value 0 means no complete updates except for once a day and after a restart.

0 (no complete update)

cachedChannelTypes

Comma-delimited list of numeric channel types that should be stored in the cache. If undefined, all types (1,2,3,4,5,6,7,8), see section Restricted Caching by Channel Types ('cachedChannelTypes')‌.

all types

cacheUpdateTimeout

Timeout [ms], how long to wait for a valid cache before a request fails.

8000 (8 seconds)

maxInitAttempts

Amount of attempts for an initial update.

12

localDbFile

Path to the tablespace of a persistent cache database. If defined, the file including all folders is created. If undefined, the cache is stored in the main memory.

not persistent

subID

Positive integer between 0 and 31 to identify a DMZ server in a cluster, see section Configuration of Parameter 'subID'.

calculated automatically

ignoreNotification

If true, switch off immediate cache replication.

false