|
30 | 30 | <argument type="service" id="sulu_sylius_producer.messenger_bus"/>
|
31 | 31 | </service>
|
32 | 32 |
|
| 33 | + <service |
| 34 | + id="Sulu\SyliusProducerPlugin\MessageHandler\TriggerProductProducerMessageHandler" |
| 35 | + class="Sulu\SyliusProducerPlugin\MessageHandler\TriggerProductProducerMessageHandler" |
| 36 | + > |
| 37 | + <argument type="service" id="sylius.repository.product"/> |
| 38 | + <argument type="service" id="Sulu\SyliusProducerPlugin\Producer\ProductMessageProducerInterface"/> |
| 39 | + |
| 40 | + <tag name="messenger.message_handler"/> |
| 41 | + </service> |
| 42 | + |
| 43 | + <service |
| 44 | + id="Sulu\SyliusProducerPlugin\MessageHandler\TriggerProductVariantProducerMessageHandler" |
| 45 | + class="Sulu\SyliusProducerPlugin\MessageHandler\TriggerProductVariantProducerMessageHandler" |
| 46 | + > |
| 47 | + <argument type="service" id="sylius.repository.product_variant"/> |
| 48 | + <argument type="service" id="Sulu\SyliusProducerPlugin\Producer\ProductVariantMessageProducerInterface"/> |
| 49 | + |
| 50 | + <tag name="messenger.message_handler"/> |
| 51 | + </service> |
| 52 | + |
| 53 | + <service |
| 54 | + id="Sulu\SyliusProducerPlugin\MessageHandler\TriggerTaxonProducerMessageHandler" |
| 55 | + class="Sulu\SyliusProducerPlugin\MessageHandler\TriggerTaxonProducerMessageHandler" |
| 56 | + > |
| 57 | + <argument type="service" id="sylius.repository.taxon"/> |
| 58 | + <argument type="service" id="Sulu\SyliusProducerPlugin\Producer\TaxonMessageProducerInterface"/> |
| 59 | + |
| 60 | + <tag name="messenger.message_handler"/> |
| 61 | + </service> |
| 62 | + |
33 | 63 | <service id="Sulu\SyliusProducerPlugin\EventSubscriber\ProductEventSubscriber">
|
34 | 64 | <argument type="service" id="Sulu\SyliusProducerPlugin\Producer\ProductMessageProducerInterface"/>
|
35 | 65 |
|
|
72 | 102 |
|
73 | 103 | <service id="Sulu\SyliusProducerPlugin\Command\SynchronizeTaxonCommand">
|
74 | 104 | <argument type="service" id="doctrine.orm.entity_manager"/>
|
75 |
| - <argument type="service" id="Sulu\SyliusProducerPlugin\Producer\TaxonMessageProducerInterface"/> |
76 | 105 | <argument type="service" id="sylius.repository.taxon"/>
|
| 106 | + <argument type="service" id="sulu_sylius_producer.messenger_bus"/> |
77 | 107 |
|
78 | 108 | <tag name="console.command" />
|
79 | 109 | </service>
|
80 | 110 |
|
81 | 111 | <service id="Sulu\SyliusProducerPlugin\Command\SynchronizeProductsCommand">
|
82 | 112 | <argument type="service" id="doctrine.orm.entity_manager"/>
|
83 |
| - <argument type="service" id="Sulu\SyliusProducerPlugin\Producer\ProductMessageProducerInterface"/> |
84 | 113 | <argument type="service" id="sylius.repository.product"/>
|
| 114 | + <argument type="service" id="sulu_sylius_producer.messenger_bus"/> |
85 | 115 |
|
86 | 116 | <tag name="console.command" />
|
87 | 117 | </service>
|
88 | 118 |
|
89 | 119 | <service id="Sulu\SyliusProducerPlugin\Command\SynchronizeProductVariantsCommand">
|
90 | 120 | <argument type="service" id="doctrine.orm.entity_manager"/>
|
91 |
| - <argument type="service" id="Sulu\SyliusProducerPlugin\Producer\ProductVariantMessageProducerInterface"/> |
92 | 121 | <argument type="service" id="sylius.repository.product_variant"/>
|
| 122 | + <argument type="service" id="sulu_sylius_producer.messenger_bus"/> |
93 | 123 |
|
94 | 124 | <tag name="console.command" />
|
95 | 125 | </service>
|
|
0 commit comments