AdvancedQueue provides a robust queue API for Drupal, allowing you to manage and process jobs with enhanced features. It supports job states, results, retries, and delayed processing. You can also process queues via Drush commands and view job listings using Drupal's Views.
Provides a better queue API for Drupal.
Queues are configuration entities with an associated backend plugin. The backend plugin is responsible for enqueueing and manipulating jobs. Each job has a type (JobType plugin), responsible for processing it.
Example:
$job = Job::create('commerce_recurring_renew_order', ['order_id' => '10']);
// Any queue can hold any job. Having different queues
// allows grouping jobs by different criteria.
// High vs low priority. Processed by cron or Drush/Console.
// One in SQL, one in Redis. Etc.
$queue = Queue::load('default');
$queue->enqueueJob($job);
Features:
- Job states (queued/processing/success/failure)
- Job results (state, message, processing time stored on the job)
- Retries (configurable per job type or per job)
- Delayed processing (run the job in 10 days, retry in 1 day, etc)
- API support for bulk job creation and interfaces for optional features
- Drush and Drupal Console commands for processing queues
- Views-powered job listings
Original development sponsored by Publicis Modem
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
11 tracked projects depend on this one
- Commerce License 2,694 sites
- Push Framework 230 sites
- Drupal Remote Dashboard 100 sites
- Advanced Queue Runner 46 sites
- VG Wort Integration 33 sites
- HTTP Queue 17 sites
- Advanced Queue Mail 14 sites
- Triplestore Indexer 12 sites
- Webform AdvancedQueue 6 sites
- Commerce Unleashed 2 sites
- ATLS 2 sites