enqueue-dev icon indicating copy to clipboard operation
enqueue-dev copied to clipboard

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

Open RuslanMelnychenko opened this issue 2 years ago • 1 comments

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

RuslanMelnychenko avatar Apr 04 '22 09:04 RuslanMelnychenko

@RuslanMelnychenko did you find any resolution or alternative ?

lamb0tiana avatar Mar 22 '23 14:03 lamb0tiana