We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96593a0 commit 57f1c68Copy full SHA for 57f1c68
README.md
@@ -85,12 +85,15 @@ The default connection name is `cmq`
85
```php
86
//use queue only
87
Job::dispatch()->onConnection('connection-name')->onQueue('queue-name');
88
+ // or dispatch((new Job())->onConnection('connection-name')->onQueue('queue-name'))
89
90
//use topic and tag filter
91
Job::dispatch()->onConnection('connection-name')->onQueue('tag1,tag2,tag3');
92
+ // or dispatch((new Job())->onConnection('connection-name')->onQueue('tag1,tag2,tag3'))
93
94
//use topic and routing filter
95
Job::dispatch()->onConnection('connection-name')->onQueue('routing-key');
96
+ // or dispatch((new Job())->onConnection('connection-name')->onQueue('routing-key'))
97
```
98
99
#### Multiple Queues
0 commit comments