renatocason/magento2-module-mq-mysql

Magento 2 Message Queue OS MySQL Broker Implementation

Installs: 4 936

Dependents: 2

Suggesters: 2

Security: 0

Stars: 3

Watchers: 2

Forks: 3

Open Issues: 0

Type:magento2-module

1.2.2 2020-01-05 19:45 UTC

This package is auto-updated.

Last update: 2020-02-05 20:04:39 UTC


README

MySQL message queue backend implementation for Rcason_Mq.

Build Status Coverage Status Latest Stable Version Latest Unstable Version Total Downloads License

Installation

  1. Require the module via Composer
$ composer require renatocason/magento2-module-mq-mysql
  1. Enable the module
$ bin/magento module:enable Rcason_MqMysql
$ bin/magento setup:upgrade

Configuration

  1. Configure the Mq module as explained here
  2. Specify mysql as broker when configuring a queue in your module's etc/ce_mq.xml file
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Rcason_Mq:etc/ce_mq.xsd">
    <ceQueue name="product.updates" broker="mysql"
        messageSchema="int"
        consumerInterface="Rcason\MqExample\Model\ExampleConsumer"/>
</config>

Authors, contributors and maintainers

Author:

License

Licensed under the Open Software License version 3.0