Skip to content

added support for simply using different queue than default - #61

Merged
markstory merged 3 commits into
cakephp:masterfrom
doshu:master
Jun 8, 2021
Merged

markstory merged 3 commits into
cakephp:masterfrom
doshu:master

Conversation

@doshu

@doshu doshu commented May 24, 2021

Copy link
Copy Markdown

edited QueueManager

if the config url key is a string, will be converted to array and all the client config will be setted.
if the config url key is an array, the client config will be merged

Comment thread src/QueueManager.php Outdated
Comment thread src/QueueManager.php
'default_queue' => $config['queue'],
];
}
}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we also have a test that uses engine() to read configuration from the created client?

@markstory markstory linked an issue May 24, 2021 that may be closed by this pull request
@markstory
markstory merged commit b4fbb14 into cakephp:master Jun 8, 2021
markstory added a commit that referenced this pull request Jun 8, 2021
othercorey added a commit that referenced this pull request Jun 8, 2021
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

Successfully merging this pull request may close these issues.

Cannot specify queue other than default

3 participants