Skip to content

Fix compatibility with yiisoft/queue after #321 - #144

Merged
samdark merged 1 commit into
masterfrom
fix-queue-321-compat
Oct 28, 2026
Merged

samdark merged 1 commit into
masterfrom
fix-queue-321-compat

Conversation

@samdark

@samdark samdark commented Oct 28, 2026 •

Copy link
Copy Markdown
Member

yiisoft/queue#321 removed Provider\QueueProviderInterface and Queue. The queue settings used QueueProviderInterface::DEFAULT_QUEUE as the default queue name, so the package could no longer be loaded with the current yiisoft/queue.

The settings now use DefaultQueue::NAME. The value is the same (yii-queue), so the default queue keeps its name.

The tests and the test console application now use AsyncQueueProducer and QueueConsumer instead of Queue, and build the worker with the current Worker constructor.

withChannel() stays as an adapter method. It's no longer part of AdapterInterface, but it can still be used to create an adapter for another channel.

yiisoft/queue#321 removed Provider\QueueProviderInterface and Queue. The queue settings used
QueueProviderInterface::DEFAULT_QUEUE as the default queue name, so the package could not be loaded with the
current yiisoft/queue. It now uses DefaultQueue::NAME, which has the same value.

The tests and the test console application now use AsyncQueueProducer and QueueConsumer instead of Queue, and
build the worker with the current Worker constructor.
@samdark
samdark merged commit d97f56e into master Oct 28, 2026
21 checks passed
@samdark
samdark deleted the fix-queue-321-compat branch October 28, 2026 22:06
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.

1 participant