Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
RuslanMelnychenko opened this issue Apr 4, 2022 · 1 comment
Open

Comments

@RuslanMelnychenko
Copy link

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
Copy link

lamb0tiana commented Mar 22, 2023

@RuslanMelnychenko did you find any resolution or alternative ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants