Download the PHP package prolic/humus-amqp-demo-module without Composer
On this page you can find all versions of the php package prolic/humus-amqp-demo-module. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package humus-amqp-demo-module
Humus AMQP Demo Module
This is a demo module for Humus AMQP Module.
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.
Dependencies
- PHP 5.4.0
- HumusAmqpModule
Installation
- Add
"prolic/humus-amqp-demo-module": "dev-master"
to yourcomposer.json
- Run
php composer.phar install
- Enable the module in your
config/application.config.php
by addingHumusAmqpDemoModule
tomodules
Usage
Setup Fabric
php public/index.php humus amqp setup-fabric
Start the demo consumer
php public/index.php humus amqp consumer demo-consumer
Send a message from StdIn to exchange
echo "my test message" | xargs -0 php public/index.php humus amqp stdin-producer demo-producer
Send a message from parameter to exchange
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
php public/index.php humus amqp consumer topic-consumer-error 1000000
Consume 100 messages from topic exchange by routing key error (0)
php public/index.php humus amqpdemo topic-producer 100
Start the multiple consumer
php public/index.php humus amqp multiple-consumer multiple-consumer
Send messages to multiple consumer
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
All versions of humus-amqp-demo-module with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3.23
prolic/humus-amqp-module Version 0.1.1
prolic/humus-supervisor-module Version dev-master
prolic/humus-amqp-module Version 0.1.1
prolic/humus-supervisor-module Version dev-master
The package prolic/humus-amqp-demo-module contains the following files
Loading the files please wait ....