diff options
author | Nicolas LÅ“uillet <nicolas.loeuillet@smile.fr> | 2016-01-15 08:24:32 +0100 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-09-11 21:57:09 +0200 |
commit | 56c778b4152a1b886353933276ee3626e4e8c004 (patch) | |
tree | 203a2bc2fc36016b5a51703b04d86b034d9393c3 /src/Wallabag/ImportBundle/Resources | |
parent | 59758d8fe5ad5ff554391515a78d84b0d47bdb76 (diff) | |
download | wallabag-56c778b4152a1b886353933276ee3626e4e8c004.tar.gz wallabag-56c778b4152a1b886353933276ee3626e4e8c004.tar.zst wallabag-56c778b4152a1b886353933276ee3626e4e8c004.zip |
1st draft for rabbitMQ
Diffstat (limited to 'src/Wallabag/ImportBundle/Resources')
-rw-r--r-- | src/Wallabag/ImportBundle/Resources/config/services.yml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/Wallabag/ImportBundle/Resources/config/services.yml b/src/Wallabag/ImportBundle/Resources/config/services.yml index 520d43af..7ea54162 100644 --- a/src/Wallabag/ImportBundle/Resources/config/services.yml +++ b/src/Wallabag/ImportBundle/Resources/config/services.yml | |||
@@ -1,4 +1,11 @@ | |||
1 | services: | 1 | services: |
2 | wallabag_import.consumer.entry: | ||
3 | class: Wallabag\ImportBundle\Component\AMPQ\EntryConsumer | ||
4 | arguments: | ||
5 | - "@doctrine.orm.entity_manager" | ||
6 | - "@wallabag_core.entry_repository" | ||
7 | - "@wallabag_core.content_proxy" | ||
8 | |||
2 | wallabag_import.chain: | 9 | wallabag_import.chain: |
3 | class: Wallabag\ImportBundle\Import\ImportChain | 10 | class: Wallabag\ImportBundle\Import\ImportChain |
4 | 11 | ||
@@ -18,6 +25,8 @@ services: | |||
18 | - "@doctrine.orm.entity_manager" | 25 | - "@doctrine.orm.entity_manager" |
19 | - "@wallabag_core.content_proxy" | 26 | - "@wallabag_core.content_proxy" |
20 | - "@craue_config" | 27 | - "@craue_config" |
28 | - %rabbitmq% | ||
29 | - "@old_sound_rabbit_mq.wallabag_producer" | ||
21 | calls: | 30 | calls: |
22 | - [ setClient, [ "@wallabag_import.pocket.client" ] ] | 31 | - [ setClient, [ "@wallabag_import.pocket.client" ] ] |
23 | - [ setLogger, [ "@logger" ]] | 32 | - [ setLogger, [ "@logger" ]] |