2017 © Pedro Peláez
 

demo humus-amqp-demo-module

AMQP Demo Module for Zend Framework 2 based on ext-amqp

image

prolic/humus-amqp-demo-module

AMQP Demo Module for Zend Framework 2 based on ext-amqp

  • Sunday, June 19, 2016
  • by prolic
  • Repository
  • 1 Watchers
  • 4 Stars
  • 169 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Humus AMQP Demo Module

This is a demo module for Humus AMQP Module., (*1)

ABANDONED!!!

This module is no longer supported!

About

Install this module to enable some demo consumers and producers as a start to learn with RabbitMQ., (*2)

Dependencies

Installation

  1. Add "prolic/humus-amqp-demo-module": "dev-master" to your composer.json
  2. Run php composer.phar install
  3. Enable the module in your config/application.config.php by adding HumusAmqpDemoModule to modules

Usage

Setup Fabric, (*3)

php public/index.php humus amqp setup-fabric

Start the demo consumer, (*4)

php public/index.php humus amqp consumer demo-consumer

Send a message from StdIn to exchange, (*5)

echo "my test message" | xargs -0 php public/index.php humus amqp stdin-producer demo-producer

Send a message from parameter to exchange, (*6)

php public/index.php humus amqp stdin-producer demo-producer "my test message"

Send 1000000 messages to topic exchange with random error-level as routing key, (*7)

php public/index.php humus amqp consumer topic-consumer-error 1000000

Consume 100 messages from topic exchange by routing key error (0), (*8)

php public/index.php humus amqpdemo topic-producer 100

Start the multiple consumer, (*9)

php public/index.php humus amqp multiple-consumer multiple-consumer

Send messages to multiple consumer, (*10)

php public/index.php humus amqp stdin-producer topic-producer --route=level.err err
php public/index.php humus amqp stdin-producer topic-producer --route=level.warn warn
php public/index.php humus amqp stdin-producer topic-producer --route=level.info info
php public/index.php humus amqp stdin-producer topic-producer --route=level.debug debug

The Versions

19/06 2016

dev-master

9999999-dev https://github.com/prolic/HumusAmqpDemoModule

AMQP Demo Module for Zend Framework 2 based on ext-amqp

  Sources   Download

MIT

The Requires

 

demo rabbitmq zf2 zend queue amqp humus

21/11 2015

v0.1.1

0.1.1.0 https://github.com/prolic/HumusAmqpDemoModule

AMQP Demo Module for Zend Framework 2 based on ext-amqp

  Sources   Download

MIT

The Requires

 

demo rabbitmq zf2 zend queue amqp humus

29/08 2014

v0.1.0

0.1.0.0 https://github.com/prolic/HumusAmqpDemoModule

AMQP Demo Module for Zend Framework 2 based on ext-amqp

  Sources   Download

MIT

The Requires

 

demo rabbitmq zf2 zend queue amqp humus