Home

Awesome

Magento extension for sending messages through AMQP protocol (RabbitMQ, ActiveMQ, ...)

Requirements

Installation instructions

Install with modgit:

$ cd /path/to/magento
$ modgit init
$ modgit clone amqp https://github.com/jreinke/magento-amqp.git

or download package manually here and unzip in Magento root folder.

Finally:

Usage

<?php
// Sending data of a new customer to exchange 'amqp.topic' with routing key 'magento.customer.create'
$data = $customer->getData();
$broker = Mage::helper('amqp/broker');
$broker->send(json_encode($data), 'amq.topic', 'magento.customer.create');