We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Defining connection option in the command line is not working. Always using default connection
php artisan rabbitevents:listen queue --connection="custom"
I suspect it is because of following line
https://github.com/nuwber/rabbitevents/blob/7.x/src/RabbitEvents/Foundation/RabbitEventsServiceProvider.php#L42
The text was updated successfully, but these errors were encountered:
It also requires to add an additional functionality for publishing.
SomeEvent::connection('custom')->publish([]);
and the helper function should receive parameters like
publish('event.name', $payload, $parameters = ['connection' => 'custom']);
The connection config couldn't be resolved in the boot method of the service provider as it does now.
Sorry, something went wrong.
masterjus
No branches or pull requests
Defining connection option in the command line is not working. Always using default connection
I suspect it is because of following line
https://github.com/nuwber/rabbitevents/blob/7.x/src/RabbitEvents/Foundation/RabbitEventsServiceProvider.php#L42
The text was updated successfully, but these errors were encountered: