Skip to content

Commit

Permalink
Clean up + adding docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Bartosz Kubicki committed Oct 26, 2020
1 parent 261e558 commit d942545
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 120 deletions.
39 changes: 0 additions & 39 deletions Queue/ConsumerHandler/Entity/Cancellation.php

This file was deleted.

39 changes: 0 additions & 39 deletions Queue/ConsumerHandler/Entity/Confirmation.php

This file was deleted.

39 changes: 0 additions & 39 deletions Queue/ConsumerHandler/Entity/Creation.php

This file was deleted.

4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ bin/magento setup:upgrade

Just install module and investigate topology created. Play around by
publishing messages (take a look at console commands) and observe how messages are handled. Every consumer handler
has a sleep function inside to make sure that message processing is visible in rabbitmq admin panel
has a sleep function inside to make sure that message processing is visible in rabbitmq admin panel messages chart.
Change consumers (`Failure` / `Success` in `queue_consumer.xml` to test different situations.
Topology created by the module should look like on the [graph](docs/topology.png)

## Contributing

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"magento/framework": "102.0.*||103.0.*"
},
"type": "magento2-module",
"version": "1.0.2",
"version": "1.0.3",
"license": "MIT",
"autoload": {
"files": [
Expand Down
Binary file added docs/topology.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion etc/queue_consumer.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
consumerInstance="LizardMedia\RabbitMqPlayground\Queue\Consumer\RetryConsumerHandler"
handler="LizardMedia\RabbitMqPlayground\Queue\ConsumerHandler\Entity\Success::execute"/>
<consumer name="Cancelentity" queue="cancel_entity" connection="amqp"
handler="LizardMedia\RabbitMqPlayground\Queue\ConsumerHandler\Entity\Cancellation::execute"/>
handler="LizardMedia\RabbitMqPlayground\Queue\ConsumerHandler\Entity\Success::execute"/>
</config>

0 comments on commit d942545

Please sign in to comment.