mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-23 09:31:04 +00:00
0a6e6abdc4
This is just a simple proxy because we can't lazy load RabbitMQ service just to count number of messages in the queue. As they are automatically injected in the controller now, we can't lazy load them. Also forgot to use `AbstractController` in previous PR about _controller as a service_.
70 lines
2.9 KiB
YAML
70 lines
2.9 KiB
YAML
# RabbitMQ stuff
|
|
services:
|
|
_defaults:
|
|
autowire: true
|
|
autoconfigure: true
|
|
public: true
|
|
|
|
Wallabag\ImportBundle\Consumer\RabbitMQConsumerTotalProxy:
|
|
lazy: true
|
|
arguments:
|
|
$pocketConsumer: '@old_sound_rabbit_mq.import_pocket_consumer'
|
|
$readabilityConsumer: '@old_sound_rabbit_mq.import_readability_consumer'
|
|
$wallabagV1Consumer: '@old_sound_rabbit_mq.import_wallabag_v1_consumer'
|
|
$wallabagV2Consumer: '@old_sound_rabbit_mq.import_wallabag_v2_consumer'
|
|
$firefoxConsumer: '@old_sound_rabbit_mq.import_firefox_consumer'
|
|
$chromeConsumer: '@old_sound_rabbit_mq.import_chrome_consumer'
|
|
$instapaperConsumer: '@old_sound_rabbit_mq.import_instapaper_consumer'
|
|
$pinboardConsumer: '@old_sound_rabbit_mq.import_pinboard_consumer'
|
|
$deliciousConsumer: '@old_sound_rabbit_mq.import_delicious_consumer'
|
|
$elcuratorConsumer: '@old_sound_rabbit_mq.import_elcurator_consumer'
|
|
|
|
wallabag_import.consumer.amqp.pocket:
|
|
class: Wallabag\ImportBundle\Consumer\AMQPEntryConsumer
|
|
arguments:
|
|
$import: '@Wallabag\ImportBundle\Import\PocketImport'
|
|
|
|
wallabag_import.consumer.amqp.readability:
|
|
class: Wallabag\ImportBundle\Consumer\AMQPEntryConsumer
|
|
arguments:
|
|
$import: '@Wallabag\ImportBundle\Import\ReadabilityImport'
|
|
|
|
wallabag_import.consumer.amqp.instapaper:
|
|
class: Wallabag\ImportBundle\Consumer\AMQPEntryConsumer
|
|
arguments:
|
|
$import: '@Wallabag\ImportBundle\Import\InstapaperImport'
|
|
|
|
wallabag_import.consumer.amqp.pinboard:
|
|
class: Wallabag\ImportBundle\Consumer\AMQPEntryConsumer
|
|
arguments:
|
|
$import: '@Wallabag\ImportBundle\Import\PinboardImport'
|
|
|
|
wallabag_import.consumer.amqp.delicious:
|
|
class: Wallabag\ImportBundle\Consumer\AMQPEntryConsumer
|
|
arguments:
|
|
$import: '@Wallabag\ImportBundle\Import\DeliciousImport'
|
|
|
|
wallabag_import.consumer.amqp.wallabag_v1:
|
|
class: Wallabag\ImportBundle\Consumer\AMQPEntryConsumer
|
|
arguments:
|
|
$import: '@Wallabag\ImportBundle\Import\WallabagV1Import'
|
|
|
|
wallabag_import.consumer.amqp.wallabag_v2:
|
|
class: Wallabag\ImportBundle\Consumer\AMQPEntryConsumer
|
|
arguments:
|
|
$import: '@Wallabag\ImportBundle\Import\WallabagV2Import'
|
|
|
|
wallabag_import.consumer.amqp.elcurator:
|
|
class: Wallabag\ImportBundle\Consumer\AMQPEntryConsumer
|
|
arguments:
|
|
$import: '@Wallabag\ImportBundle\Import\ElcuratorImport'
|
|
|
|
wallabag_import.consumer.amqp.firefox:
|
|
class: Wallabag\ImportBundle\Consumer\AMQPEntryConsumer
|
|
arguments:
|
|
$import: '@Wallabag\ImportBundle\Import\FirefoxImport'
|
|
|
|
wallabag_import.consumer.amqp.chrome:
|
|
class: Wallabag\ImportBundle\Consumer\AMQPEntryConsumer
|
|
arguments:
|
|
$import: '@Wallabag\ImportBundle\Import\ChromeImport'
|