For the complete documentation index, see llms.txt. This page is also available as Markdown.

Installation

Requirements

cbq requires the following:

  • Adobe ColdFusion (ACF) 2018+ OR Lucee 5+

  • ColdBox 6+

The different Queue Providers each have their own requirements that are listed on their individual pages.

Install via ForgeBox with CommandBox

cbq is installed via ForgeBox with CommandBox. You can install the latest version using the command:

install cbq

To stay on the v7 release line, install a version constraint:

box install cbq@^7.0.0

Installing cbq does not apply database migrations. Before starting workers or dispatching batches, apply the migrations for the tables you use. See the Upgrade Guide and DBProvider setup.

Load Java Libraries

When using batches, cbq utilizes additional Java libraries included in the lib/ folder. These need to be added to your Application's javaSettings in Application.cfc.

// Java Integration
this.javaSettings = {
    loadPaths: [ expandPath( "./modules/cbq/lib" ) ],
    loadColdFusionClassPath: true,
    reloadOnChange: false
};

Feel free to use mappings to point to the cbq path, if needed.

Append the cbq library path if your application already defines javaSettings.loadPaths, and restart the application after changing it. A ClassNotFoundException for com.fasterxml.uuid.Generators means the bundled UUID library is missing from the application's classpath; changing the Java version alone does not add it. Use a Java version supported by your CFML engine.

Additional Provider Installation Steps

The Queue Provider you use may have additional installation steps. Check out the individual provider pages for more details.

Last updated