php-enqueue / enqueue-dev

Message Queue, Job Queue, Broadcasting, WebSockets packages for PHP, Symfony, Laravel, Magento. DEVELOPMENT REPOSITORY - provided by Forma-Pro
https://enqueue.forma-pro.com/
MIT License
2.18k stars 433 forks source link

[SimpleClient] `There is no route for command ...` in redis #1246

Open RuslanMelnychenko opened 2 years ago

RuslanMelnychenko commented 2 years ago

When I want to send command by $client->sendCommand('test_command', 'message'); I have LogicException: There is no route for command "test_command". But when I add handler for command before send $client->bindCommand('test_command', function ($message) {}); it work...

I need send command to another php process, not in same processor...

I don't understand why Driver check command in route collection before send command

lamb0tiana commented 1 year ago

@RuslanMelnychenko did you find any resolution or alternative ?