Setting up message queues in Magento enhances the synchronisation speed of specific data types between Magento and Dotdigital. These queues facilitate near-real-time engagement, crucial for automation enrollments and other time-sensitive data flows.
This feature is available in Dotdigitalgroup_Email v4.24.0.
The core module defines a list of queue consumers that cover functions such as:
Automation enrolment
Newsletter subscribes and unsubscribes
Integration Insight data sync
Contact email changes
Cart insight cart phase updates after orders are placed
Activate Dotdigital queue consumers
To activate Dotdigital queue consumers, run the command:
bin/magento setup:upgrade
Merchants on Adobe Commerce Cloud may need to add queue consumers to the allowed list in the configuration file. Ensure all Dotdigital consumers are included in the allowed list during upgrades.
To learn more, see Magento documentation on message queues.
Queue connection types (DB/AMQP)
By default, queues are configured to work with the Magento MySQL adapter. If you are using an AMQP compatible message broker like Rabbit MQ, an additional module is provided to change the queue connection to amqp
.
To learn more, see details on Github.
Monitor queue messages
For queues using a MySQL connection, check the reports in Reports > Customer Engagement > Message Queue.
For AMQP queues, this report is empty as the queues are managed by an external system.
Troubleshooting
To learn about troubleshooting, see Troubleshoot message queue processing in Dotdigital.