Type
magento2-module
Magento 2 Message Queue OS AMQP Broker Implementation
magento2-module
OSL-3.0
None
None
None
None
None
AMQP message queue backend implementation for Rcason_Mq.
$ composer require renatocason/magento2-module-mq-amqp
$ bin/magento module:enable Rcason_MqAmqp
$ bin/magento setup:upgrade
'ce_mq' => [
'amqp' => [
'host' => 'localhost',
'port' => 5672,
'username' => 'guest',
'password' => 'guest',
'virtualhost' => '/',
],
],
<?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="amqp"
messageSchema="int"
consumerInterface="Rcason\MqExample\Model\ExampleConsumer"/>
</config>
$ bin/magento setup:upgrade
Author: - Renato Cason
Licensed under the Open Software License version 3.0