Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: MCP Sentinel 2.29.0 — Minor update available for module mcp_sentinel (2.29.0). Release: Audit Chain 1.10.9 — Minor update available for module audit_chain (1.10.9). Release: Menu Autopilot 1.4.7 — Minor update available for module menu_autopilot (1.4.7). Release: FileGate 1.11.3 — Minor update available for module file_gate (1.11.3). Release: Download Tracker 1.0.7 — Minor update available for module download_tracker (1.0.7). Release: Directory2Block Slideshow 1.0.8 — Minor update available for module directory2block_slideshow (1.0.8). Release: Mautic Audiences 1.1.5 — Minor update available for module mautic_audiences (1.1.5). Release: Rightup theme 1.0.3 — Minor update available for theme vartheme_bs5_rightup (1.0.3). Module Revived: Swagger-PHP OpenAPI 3 documentation generator 1.0.0 — Module swagger_php updated after 10 months of inactivity (1.0.0). Security Coverage: Microsoft Azure AI — Module ai_provider_azure now has official Drupal security advisory coverage.

This modules provides RabbitMQ integration with Drupal's queuing system. The module requires the php-amqplib library to run.

Drupal 8 & 9

The Drupal 8 module uses the Queue API to declare and send data to a queue, and it's primary focus is to allow developers to integrate data submission with RabbitMQ.

Queues and exchanges are both supported.

When configured via rabbitmq.config.yml (see the example module), sending data to the queue is as easy as

// Some data to send off to the queue
$data = ['apples', 'oranges'];

// Get the queue config
$queue_factory = \Drupal::service('queue');
$queue = $queue_factory->get('example_queue');

// Send data to the queue
$queue->createItem($data);

Example module

To test RabbitMQ from your Drupal site, enable the rabbitmq_example module and following the instructions from the README.

Drush integration

To test RabbitMQ, the module provides a list of Drush commands to help out with queue processing and queue information.

Version Matrix

Version Core Drush 3.x ^9 10,11 8.x-2.x >=8.7.7 8,9,10 8.x-1.x <=8.8.3 8

Credits

Originally developed by Josh Waihi for Drupal 7 and fgm for the initial Drupal 8 port. Please help out so this module becomes the standard for integration with the Rabbit MQ service.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Jan 2023
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Slowing

Releases

Version Type Core Release date
5.x-dev Dev Feb 4, 2024
4.x-dev Dev Jan 18, 2023