Skip to content

Commit d942545

Browse files
author
Bartosz Kubicki
committed
Clean up + adding docs
1 parent 261e558 commit d942545

File tree

7 files changed

+5
-120
lines changed

7 files changed

+5
-120
lines changed

Queue/ConsumerHandler/Entity/Cancellation.php

Lines changed: 0 additions & 39 deletions
This file was deleted.

Queue/ConsumerHandler/Entity/Confirmation.php

Lines changed: 0 additions & 39 deletions
This file was deleted.

Queue/ConsumerHandler/Entity/Creation.php

Lines changed: 0 additions & 39 deletions
This file was deleted.

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,9 @@ bin/magento setup:upgrade
4949

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

5456
## Contributing
5557

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"magento/framework": "102.0.*||103.0.*"
99
},
1010
"type": "magento2-module",
11-
"version": "1.0.2",
11+
"version": "1.0.3",
1212
"license": "MIT",
1313
"autoload": {
1414
"files": [

docs/topology.png

120 KB
Loading

etc/queue_consumer.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@
1313
consumerInstance="LizardMedia\RabbitMqPlayground\Queue\Consumer\RetryConsumerHandler"
1414
handler="LizardMedia\RabbitMqPlayground\Queue\ConsumerHandler\Entity\Success::execute"/>
1515
<consumer name="Cancelentity" queue="cancel_entity" connection="amqp"
16-
handler="LizardMedia\RabbitMqPlayground\Queue\ConsumerHandler\Entity\Cancellation::execute"/>
16+
handler="LizardMedia\RabbitMqPlayground\Queue\ConsumerHandler\Entity\Success::execute"/>
1717
</config>

0 commit comments

Comments
 (0)