Skip to content

Commit

Permalink
fix typo and remove composer.lock
Browse files Browse the repository at this point in the history
  • Loading branch information
L0rD59 committed Sep 29, 2016
1 parent a57db01 commit 68b45bb
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 309 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/vendor/
/composer.lock
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ Install composer dependencies `docker-compose run --rm composer install`

### Usage

Run `docker-compose run -T --rm php app/console list`.
Run `docker-compose run --rm php app/console configure` to configure RabbitMQ Exchanges and Queues

Run `docker-compose port rabbitmq 15672` to see the address of rabbitMQ management.
Run `docker-compose run --rm php app/console populate` to send 1000 messages in RabbitMQ

Run `docker-compose run --rm php app/console consume` to consume messages from RabbitMQ

Run `docker-compose port rabbitmq 15672` to see the address of rabbitMQ management.
307 changes: 0 additions & 307 deletions composer.lock

This file was deleted.

1 change: 1 addition & 0 deletions src/LIG/Command/ConfigureCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ public function execute(InputInterface $input, OutputInterface $output)
$queue->setFlags(AMQP_DURABLE);
$queue->declareQueue();
$queue->bind('sample', 'sample');
$queue->bind('sample_retry', 'sample_retry');

$queueRetry1 = new \AMQPQueue($channel);
$queueRetry1->setName('sample_retry_1');
Expand Down

0 comments on commit 68b45bb

Please sign in to comment.