it does not work (imho) if you create the service directly (outside dependency injection/not pulling from app service container)
go to your MessageRouter and find the line which creates the CustomMessageHandler and try to pull it from service container
//instead
(new CustomMessageHandler::class)->...
//use
app(CustomMessageHandler::class)->...
of course add mandatory dependencies or bind it in the service container https://laravel.com/docs/11.x/container#binding
and it should work