Name

service

XMS Template Job Service — Generates emails from data provided by several sources

<service class="xms.template.XMSTemplateJobService" > child tags </service>

Table 80. Attributes for service tag (for xms.template.XMSTemplateJobService)

NameDescriptionTypeDefault ValueRequired
nameSets a name for this job for referenceString any character combinationnoneno

Service Dependencies

This tag depends on the following services (or a service that extends or implements these classes)

Child Tags

Template Job

<job > child tags </job>

Table 81. Attributes for job tag (for xms.template.XMSTemplateJobService)

NameDescriptionTypeDefault ValueRequired
addDateAdd a Date header if none existsboolean true or falsetrueno
addMessageIDAdd a Message-ID header if none existsboolean true or falsetrueno
addReceivedAdd a Received headerboolean true or falsetrueno
charsetThe character set to encode emails inString any character combinationiso-8859-1no
concurrencySets the number of threads that execute this job simultaneouslyint any integer1no
hostMapA String Map that maps local IPs to hostnamesStringMap Name of a StringMap as defined in StringMapServicenoneno
hostnameDefault fully qualified hostname of this machineString any character combinationlocalhostno
intervalSets the interval in ms at which this service generates messagesint any integer60no
nameThe name of this TemplateJob for referenceString any character combinationSystem assigned IDno
retryImmediatelyPoll again immediately if mails were sentboolean true or falsefalseno
targetSpecifies the target spool for generated messagesSpool Name of a Service that implements Spoolnoneno
Service Dependencies

This tag depends on the following services (or a service that extends or implements these classes)

Child Tags
TemplateEngine

<engine class="class" />

Classes Implementing xms.template.TemplateEngine

The following classes can be used in the class attribute for this tag:

Filter

<filter class="class" />

Classes Implementing xms.filter.Filter

The following classes can be used in the class attribute for this tag:

Example 75. Example configuration for XMS Template Job Service

Required attributes are marked with a bold typeface

<service class="xms.template.XMSTemplateJobService"
      name="name">
    <job addDate="addDate"
          addMessageID="addMessageID"
          addReceived="addReceived"
          charset="charset"
          concurrency="concurrency"
          hostMap="hostMap"
          hostname="hostname"
          interval="interval"
          name="name"
          retryImmediately="retryImmediately"
          target="target">
        <engine class="class"  />
        <provider class="class"  />
        <filter class="class"  />
    </job>
</service>