Ticket Queue


afsTicketQueue.exe is a server application that converts executions (in the ticket queue) into afsTrade tickets.  

afsQueueService.exe is a Windows service that converts executions (in the ticket queue) into afsTrade tickets.  Running the queue as a service does not require a user to be logged into that machine.

Before running, you should set up the corresponding section of the afstrade.ini file.

Once started, the Ticket Queue will process all pending executions, as well as new executions, throughout the day.

You can view pending, failed, and passed executions using the Ticket Queue Viewer.

afsTicketQueue.exe

To start afsTicketQueue:

afsQueueService.exe

To run the Ticket Queue as a Windows Service, the service must first be installed.

You can install its services with the Service Control Manager (SCM). Other applications can then launch your services by sending requests to the SCM. 

Install

To install, open a DOS command line (Start->Run, then enter CMD and click OK) run it using the /INSTALL option

    afsQueueService.exe /INSTALL

The afsQueueService installs its services and exits, giving a confirmation message if the services are successfully installed. You can suppress the confirmation message by running the service application using the /SILENT option.

Configure

Once installed, run the Windows Services application, click on afsQueueService and set its properties

Once done, you can start the service to test it.  Once started, you can view the service window by right click on the application's icon in the Systray and clicking Show.  If run as a service, you can close the Queue window and the Ticket Queue will continue to run.

Uninstall

To uninstall the service, run it from the command line using the /UNINTALL option. (You can also use the /SILENT option to suppress the confirmation message when uninstalling).

See Also

Technical Information

Ticket Queue information is stored in the tckqueue table.