Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Written by: Andy Zeneski, jaz@ofbiz.org
Edited by: Les Austin, Pawel H Debski and David E. Jones

Related Documents

Service Engine Guide
Core Configuration Guide

...

Attribute NameRequired?Description
ttlYThe time to live for each invoker thread. Once this time is reached the thread is destroyed.
wait-millisYEach invoker thread will sleep for this amount of time before checking for jobs to run.
jobsYThe maximum number of jobs each invoker thread will run before being destroyed.
min-threadsYThe minimum number of invoker threads to keep around.
max-threadsYThe maximum number of invoker threads to create.
poll-enabledYWhen 'true' the scheduler will poll the database for scheduled jobs.
poll-db-millisYIf polling is enabled this defined how often the poller thread runs.

Engine Definitions

...

Each implementation of the GenericEngine interface needs to be defined in order to be used in the service definitions. The engine has the following attributes:

Attribute NameRequired?Description
nameYThe name of the service engine. This must be unique.
classYThe class which implements GenericEngine

...

Resource Loaders

...

The resource-loader tag is used to configure a named resource loader that can be used elsewhere to load XML and other resources. It has the following attributes.

Attribute NameRequired?Description
nameYThe name of the resource loader. Used in other tags in the 'loader' attribute.
classYThe class to use that extends the abstract class org.ofbiz.service.config.ResourceLoader. Available classes include FileLoader, UrlLoader, and ClasspathLoader, all in the same package as the ResourceLoader class.
prepend-envNThe name of a Java environment property to put at the very beginning of the full location, before the prefix. This is optional.
prefixNA string to put before the location when making the full location. This is optional. If used will go after the prepended environment property and before the location specified for each resource.

...