{"action":"created","issue":{"url":"https://api.github.com/repos/php-amqplib/RabbitMqBundle/issues/367","repository_url":"https://api.github.com/repos/php-amqplib/RabbitMqBundle","labels_url":"https://api.github.com/repos/php-amqplib/RabbitMqBundle/issues/367/labels{/name}","comments_url":"https://api.github.com/repos/php-amqplib/RabbitMqBundle/issues/367/comments","events_url":"https://api.github.com/repos/php-amqplib/RabbitMqBundle/issues/367/events","html_url":"https://github.com/php-amqplib/RabbitMqBundle/issues/367","id":161883994,"node_id":"MDU6SXNzdWUxNjE4ODM5OTQ=","number":367,"title":"How to bind two exchanges to the same callback ?","user":{"login":"syrm","id":155406,"node_id":"MDQ6VXNlcjE1NTQwNg==","avatar_url":"https://avatars1.githubusercontent.com/u/155406?v=4","gravatar_id":"","url":"https://api.github.com/users/syrm","html_url":"https://github.com/syrm","followers_url":"https://api.github.com/users/syrm/followers","following_url":"https://api.github.com/users/syrm/following{/other_user}","gists_url":"https://api.github.com/users/syrm/gists{/gist_id}","starred_url":"https://api.github.com/users/syrm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/syrm/subscriptions","organizations_url":"https://api.github.com/users/syrm/orgs","repos_url":"https://api.github.com/users/syrm/repos","events_url":"https://api.github.com/users/syrm/events{/privacy}","received_events_url":"https://api.github.com/users/syrm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-06-23T09:57:29Z","updated_at":"2018-06-04T13:29:39Z","closed_at":null,"author_association":"NONE","body":"Hello,\n\nHow can i bind two exchanges to the same callback ?\n\n```\nold_sound_rabbit_mq:\n    producers:\n        broadcasting:\n            exchange_options: {name: 'broadcasting', type: fanout}\n\n        asyncprocess:\n            exchange_options: {name: 'asyncprocess', type: fanout}\n\n    consumers:\n        broadcasting:\n            exchange_options: {name: 'broadcasting', type: fanout}\n            queue_options:    {name: 'asyncprocess'}\n            callback:         asyncprocess_service\n\n        asyncprocess:\n            exchange_options: {name: 'asyncprocess', type: fanout}\n            queue_options:    {name: 'asyncprocess'}\n            callback:         asyncprocess_service\n```\n\nOnly the last one is bind.\n"},"comment":{"url":"https://api.github.com/repos/php-amqplib/RabbitMqBundle/issues/comments/394354785","html_url":"https://github.com/php-amqplib/RabbitMqBundle/issues/367#issuecomment-394354785","issue_url":"https://api.github.com/repos/php-amqplib/RabbitMqBundle/issues/367","id":394354785,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NDM1NDc4NQ==","user":{"login":"giorgiosironi","id":160299,"node_id":"MDQ6VXNlcjE2MDI5OQ==","avatar_url":"https://avatars3.githubusercontent.com/u/160299?v=4","gravatar_id":"","url":"https://api.github.com/users/giorgiosironi","html_url":"https://github.com/giorgiosironi","followers_url":"https://api.github.com/users/giorgiosironi/followers","following_url":"https://api.github.com/users/giorgiosironi/following{/other_user}","gists_url":"https://api.github.com/users/giorgiosironi/gists{/gist_id}","starred_url":"https://api.github.com/users/giorgiosironi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giorgiosironi/subscriptions","organizations_url":"https://api.github.com/users/giorgiosironi/orgs","repos_url":"https://api.github.com/users/giorgiosironi/repos","events_url":"https://api.github.com/users/giorgiosironi/events{/privacy}","received_events_url":"https://api.github.com/users/giorgiosironi/received_events","type":"User","site_admin":false},"created_at":"2018-06-04T13:29:39Z","updated_at":"2018-06-04T13:29:39Z","author_association":"NONE","body":"That works for me, switch from using `exchange_options` to `bindings` at the configuration top-level."}}
{"actor":{"display_login":"giorgiosironi"}}