Queue, Job and Log files
General Process Overview
CTBroadcaster will respond to a file create event in the application Queue folder (specified
in the .config file). Whenever a new queue file arrives, processing by the specified
applet will be initiated.
If your system is restarted, the CTBroadcaster service will fire off any unprocessed queue job
found in the queue folder.
Processed queue files are deleted from the queue folder.
Queue File Overview
The location and extension of the queue file is configurable. By default, we use the extension
.que and a folder name of
queue.
File Rules
-
CTBroadcaster requires that the queue file contain the name of the applet to
be used, as specified in the .config file. Currently MAILMERGE_PROCESSOR and
GENERIC_PROCESSOR are predefined. Future enhancements will allow additional applets
to be specified.
-
If the applet uses a job file (one that directs activity as in the case of Mail Merge),
the job file should be delivered to the job folder BEFORE the queue file is
delivered to the queue folder
-
The queue file and the job file must have the same name, differentiated only by the
file extension.
-
Queue files are deleted once they are processed.
Job and Log Files
Job files are specific to the applet. The Mail Merge applet has a job file that is briefly outlined
below. If you create an applet, the job file will be unique to the functionality that you specify in
your applet. If you do not require a job file, simply do not include it with your applet.
CTBroadcaster uses the Log File to record activity performed by the service. Similar activity is also
recorded in the system Event Log.