Skip to content

Commit

Permalink
Remove requirement to message bus alias (#694)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-schranz committed Aug 8, 2024
1 parent b478e88 commit d5fe19d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/Infrastructure/Symfony/HttpKernel/SuluArticleBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,6 @@ public function loadExtension(array $config, ContainerConfigurator $container, C
$builder->registerForAutoconfiguration(ArticleMapperInterface::class)
->addTag('sulu_article.article_mapper');

// Message Bus
$services->alias('sulu_article.message_bus', 'sulu_message_bus');

// Message Handler services
$services->set('sulu_article.create_article_handler')
->class(CreateArticleMessageHandler::class)
Expand Down Expand Up @@ -179,7 +176,7 @@ public function loadExtension(array $config, ContainerConfigurator $container, C
->public()
->args([
new Reference('sulu_article.article_repository'),
new Reference('sulu_article.message_bus'),
new Reference('sulu_message_bus'),
new Reference('serializer'),
// additional services to be removed when no longer needed
new Reference('sulu_content.content_manager'),
Expand Down

0 comments on commit d5fe19d

Please sign in to comment.