2017 © Pedro Peláez
 

magento2-module magento2-module-mq-amqp

Magento 2 Message Queue OS AMQP Broker Implementation

image

renatocason/magento2-module-mq-amqp

Magento 2 Message Queue OS AMQP Broker Implementation

  • Wednesday, July 4, 2018
  • by renatocason
  • Repository
  • 2 Watchers
  • 2 Stars
  • 153 Installations
  • PHP
  • 0 Dependents
  • 2 Suggesters
  • 7 Forks
  • 0 Open issues
  • 3 Versions
  • 53 % Grown

The README.md

Magento 2 Message Queue AMQP Backend

AMQP message queue backend implementation for Rcason_Mq., (*1)

Build Status Coverage Status Latest Stable Version Latest Unstable Version Total Downloads License, (*2)

Installation

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

Configuration

  1. Configure the Mq module as explained here
  2. Configure the AMQP connection in your app/etc/env.php file
  'ce_mq' => [
      'amqp' => [
          'host' => 'localhost',
          'port' => 5672,
          'username' => 'guest',
          'password' => 'guest',
          'virtualhost' => '/',
      ],
  ],
  1. Specify amqp 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="amqp"
        messageSchema="int"
        consumerInterface="Rcason\MqExample\Model\ExampleConsumer"/>
</config>
  1. Run the setup upgrade command each time you edit your queues configuration, as they are applied to the queue manager on a recurring upgrade script
$ bin/magento setup:upgrade

Authors, contributors and maintainers

Author: - Renato Cason, (*3)

License

Licensed under the Open Software License version 3.0, (*4)

The Versions

04/07 2018

dev-master

9999999-dev

Magento 2 Message Queue OS AMQP Broker Implementation

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

03/07 2018

1.0.0

1.0.0.0

Magento 2 Message Queue OS AMQP Broker Implementation

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

08/06 2017

0.1.0

0.1.0.0

Magento 2 Message Queue OS AMQP Broker Implementation

  Sources   Download

OSL-3.0

The Requires