Inspirel banner

Programming Distributed Systems with YAMI4

7.3.5 Startup and Configuration

The YAMI4 queue server is a separate, natively compiled program, that can be run from its directory with a simple invocation:

$ ./yami4queue

The server accepts optionally a name of configuration file as a parameter, but if none is given then the yami4queue.cfg file is used by default.

The configuration file is a text file and defines the following properties:

In addition to the options described above, the queue server allows to define a set of queues that are created at the startup - this feature is necessary if no dynamic creation of queues is allowed later on. Predefined queues are configured by describing their names with consecutive indices, for example:

queue.1=jobs
queue.2=greetings
queue.3=test

The queue server reports its activity on standard output, according to logging flags defined in the configuration file.