contributte / rabbitmq

🐰 RabbitMQ (AMQP, STOMP, MQTT) using BunnyPHP for Nette Framework (@nette).
https://contributte.org/packages/contributte/rabbitmq.html
MIT License
24 stars 25 forks source link

CLI command run all consumers #19

Open revoke opened 5 years ago

revoke commented 5 years ago

When I run command for start a consumer, it runs all of declared consumers, not just one.

/usr/bin/php7.2 /var/www/www.myweb.com/www/index.php rabbitmq:consumer accessInsertConsumer 5

Output from __construct of declared consumers

App\AccessInsertConsumer
App\AccessUpdateConsumer
App\BugConsumer
paveljanda commented 5 years ago

@revoke Can you show me pls your config.neon and the class which is meant to run in accessInsertConsumer?

revoke commented 5 years ago

config.neon accessInsertConsumer