Skip to main content

Configure message queue in Magento

Learn how to configure Magento message queues in Marketing for faster data synchronisation and near-real-time engagement.

Written by Bartlomiej Rekosiewicz

Setting up message queues in Magento enhances the synchronisation speed of specific data types between Magento and Marketing. 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 Marketing queue consumers

To activate Marketingqueue 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 Marketing consumers are included in the allowed list during upgrades.


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 Marketing.

Did this answer your question?