Skip to content

Commit 321b01c

Browse files
committed
[bundle] do not use client's related stuff if it is disabled
1 parent b822eb7 commit 321b01c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkg/enqueue-bundle/DependencyInjection/Compiler/BuildTopicMetaSubscribersPass.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ public function process(ContainerBuilder $container)
1616
{
1717
$processorTagName = 'enqueue.client.processor';
1818

19+
if (false == $container->hasDefinition('enqueue.client.meta.topic_meta_registry')) {
20+
return;
21+
}
22+
1923
$topicsSubscribers = [];
2024
foreach ($container->findTaggedServiceIds($processorTagName) as $serviceId => $tagAttributes) {
2125
$subscriptions = $this->extractSubscriptions($container, $serviceId, $tagAttributes);

0 commit comments

Comments
 (0)