{"action":"created","comment":{"url":"https://api.github.com/repos/symfony/symfony-docs/pulls/comments/186779647","pull_request_review_id":118426153,"id":186779647,"diff_hunk":"@@ -166,25 +166,129 @@ like this:\n     $ bin/console messenger:consume-messages amqp\n \n The first argument is the receiver's service name. It might have been created by\n-your ``adapters`` configuration or it can be your own receiver.\n+your ``transports`` configuration or it can be your own receiver.\n \n-Your own Adapters\n------------------\n+Multiple buses\n+--------------\n \n-Once you have written your adapter's sender and receiver, you can register your\n-adapter factory to be able to use it via a DSN in the Symfony application.\n+If you are interested into architectures like CQRS, you might want to have multiple\n+buses within your application.\n \n-Create your adapter Factory\n+You can create multiple buses (in this example, a command and an event bus) like\n+this:\n+\n+.. code-block:: yaml\n+\n+    framework:\n+        messenger:\n+            # The bus that is going to be injected when injecting MessageBusInterface:\n+            default_bus: commands\n+\n+            # Create buses\n+            buses:\n+                commands: ~","path":"messenger.rst","position":100,"original_position":100,"commit_id":"42e6934306667561aa72679d2de8dff1536f7a91","original_commit_id":"42e6934306667561aa72679d2de8dff1536f7a91","user":{"login":"sroze","id":804625,"avatar_url":"https://avatars0.githubusercontent.com/u/804625?v=4","gravatar_id":"","url":"https://api.github.com/users/sroze","html_url":"https://github.com/sroze","followers_url":"https://api.github.com/users/sroze/followers","following_url":"https://api.github.com/users/sroze/following{/other_user}","gists_url":"https://api.github.com/users/sroze/gists{/gist_id}","starred_url":"https://api.github.com/users/sroze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sroze/subscriptions","organizations_url":"https://api.github.com/users/sroze/orgs","repos_url":"https://api.github.com/users/sroze/repos","events_url":"https://api.github.com/users/sroze/events{/privacy}","received_events_url":"https://api.github.com/users/sroze/received_events","type":"User","site_admin":false},"body":"Should be the full service name (and remove the note bellow)","created_at":"2018-05-08T15:58:24Z","updated_at":"2018-05-08T15:59:10Z","html_url":"https://github.com/symfony/symfony-docs/pull/9727#discussion_r186779647","pull_request_url":"https://api.github.com/repos/symfony/symfony-docs/pulls/9727","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/symfony/symfony-docs/pulls/comments/186779647"},"html":{"href":"https://github.com/symfony/symfony-docs/pull/9727#discussion_r186779647"},"pull_request":{"href":"https://api.github.com/repos/symfony/symfony-docs/pulls/9727"}}},"pull_request":{"url":"https://api.github.com/repos/symfony/symfony-docs/pulls/9727","id":185727970,"html_url":"https://github.com/symfony/symfony-docs/pull/9727","diff_url":"https://github.com/symfony/symfony-docs/pull/9727.diff","patch_url":"https://github.com/symfony/symfony-docs/pull/9727.patch","issue_url":"https://api.github.com/repos/symfony/symfony-docs/issues/9727","number":9727,"state":"open","locked":false,"title":"[Messenger] Revamp the messenger documentation","user":{"login":"sroze","id":804625,"avatar_url":"https://avatars0.githubusercontent.com/u/804625?v=4","gravatar_id":"","url":"https://api.github.com/users/sroze","html_url":"https://github.com/sroze","followers_url":"https://api.github.com/users/sroze/followers","following_url":"https://api.github.com/users/sroze/following{/other_user}","gists_url":"https://api.github.com/users/sroze/gists{/gist_id}","starred_url":"https://api.github.com/users/sroze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sroze/subscriptions","organizations_url":"https://api.github.com/users/sroze/orgs","repos_url":"https://api.github.com/users/sroze/repos","events_url":"https://api.github.com/users/sroze/events{/privacy}","received_events_url":"https://api.github.com/users/sroze/received_events","type":"User","site_admin":false},"body":"- [x] Fixes #9641 with the middleware configuration.\r\n- [x] Fixes #9617 with the multiple bus configuration.\r\n- [ ] Change adapters to transports (waiting merge: https://github.com/symfony/symfony/pull/27129)\r\n- [ ] Add documentation about the abstract bus decorator (waiting merge: https://github.com/symfony/symfony/pull/27054)","created_at":"2018-05-03T14:06:55Z","updated_at":"2018-05-08T15:59:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ed98b5450e68211f8b610fa2928d03d067dab2a3","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":390692613,"url":"https://api.github.com/repos/symfony/symfony-docs/labels/Status:%20Needs%20Review","name":"Status: Needs Review","color":"1d76db","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/symfony/symfony-docs/pulls/9727/commits","review_comments_url":"https://api.github.com/repos/symfony/symfony-docs/pulls/9727/comments","review_comment_url":"https://api.github.com/repos/symfony/symfony-docs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/symfony/symfony-docs/issues/9727/comments","statuses_url":"https://api.github.com/repos/symfony/symfony-docs/statuses/42e6934306667561aa72679d2de8dff1536f7a91","head":{"label":"sroze:revamp-the-messenger-documentation","ref":"revamp-the-messenger-documentation","sha":"42e6934306667561aa72679d2de8dff1536f7a91","user":{"login":"sroze","id":804625,"avatar_url":"https://avatars0.githubusercontent.com/u/804625?v=4","gravatar_id":"","url":"https://api.github.com/users/sroze","html_url":"https://github.com/sroze","followers_url":"https://api.github.com/users/sroze/followers","following_url":"https://api.github.com/users/sroze/following{/other_user}","gists_url":"https://api.github.com/users/sroze/gists{/gist_id}","starred_url":"https://api.github.com/users/sroze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sroze/subscriptions","organizations_url":"https://api.github.com/users/sroze/orgs","repos_url":"https://api.github.com/users/sroze/repos","events_url":"https://api.github.com/users/sroze/events{/privacy}","received_events_url":"https://api.github.com/users/sroze/received_events","type":"User","site_admin":false},"repo":{"id":15308361,"name":"symfony-docs","full_name":"sroze/symfony-docs","owner":{"login":"sroze","id":804625,"avatar_url":"https://avatars0.githubusercontent.com/u/804625?v=4","gravatar_id":"","url":"https://api.github.com/users/sroze","html_url":"https://github.com/sroze","followers_url":"https://api.github.com/users/sroze/followers","following_url":"https://api.github.com/users/sroze/following{/other_user}","gists_url":"https://api.github.com/users/sroze/gists{/gist_id}","starred_url":"https://api.github.com/users/sroze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sroze/subscriptions","organizations_url":"https://api.github.com/users/sroze/orgs","repos_url":"https://api.github.com/users/sroze/repos","events_url":"https://api.github.com/users/sroze/events{/privacy}","received_events_url":"https://api.github.com/users/sroze/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sroze/symfony-docs","description":"The Symfony2 documentation","fork":true,"url":"https://api.github.com/repos/sroze/symfony-docs","forks_url":"https://api.github.com/repos/sroze/symfony-docs/forks","keys_url":"https://api.github.com/repos/sroze/symfony-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sroze/symfony-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sroze/symfony-docs/teams","hooks_url":"https://api.github.com/repos/sroze/symfony-docs/hooks","issue_events_url":"https://api.github.com/repos/sroze/symfony-docs/issues/events{/number}","events_url":"https://api.github.com/repos/sroze/symfony-docs/events","assignees_url":"https://api.github.com/repos/sroze/symfony-docs/assignees{/user}","branches_url":"https://api.github.com/repos/sroze/symfony-docs/branches{/branch}","tags_url":"https://api.github.com/repos/sroze/symfony-docs/tags","blobs_url":"https://api.github.com/repos/sroze/symfony-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sroze/symfony-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sroze/symfony-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/sroze/symfony-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sroze/symfony-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/sroze/symfony-docs/languages","stargazers_url":"https://api.github.com/repos/sroze/symfony-docs/stargazers","contributors_url":"https://api.github.com/repos/sroze/symfony-docs/contributors","subscribers_url":"https://api.github.com/repos/sroze/symfony-docs/subscribers","subscription_url":"https://api.github.com/repos/sroze/symfony-docs/subscription","commits_url":"https://api.github.com/repos/sroze/symfony-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/sroze/symfony-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/sroze/symfony-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/sroze/symfony-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/sroze/symfony-docs/contents/{+path}","compare_url":"https://api.github.com/repos/sroze/symfony-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sroze/symfony-docs/merges","archive_url":"https://api.github.com/repos/sroze/symfony-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sroze/symfony-docs/downloads","issues_url":"https://api.github.com/repos/sroze/symfony-docs/issues{/number}","pulls_url":"https://api.github.com/repos/sroze/symfony-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/sroze/symfony-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/sroze/symfony-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sroze/symfony-docs/labels{/name}","releases_url":"https://api.github.com/repos/sroze/symfony-docs/releases{/id}","deployments_url":"https://api.github.com/repos/sroze/symfony-docs/deployments","created_at":"2013-12-19T10:03:02Z","updated_at":"2018-01-08T14:42:21Z","pushed_at":"2018-05-03T14:04:29Z","git_url":"git://github.com/sroze/symfony-docs.git","ssh_url":"git@github.com:sroze/symfony-docs.git","clone_url":"https://github.com/sroze/symfony-docs.git","svn_url":"https://github.com/sroze/symfony-docs","homepage":"http://symfony.com/doc/current/","size":44859,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"symfony:master","ref":"master","sha":"ae790085c316d11ca0ef16fe29f67e047d7dbbd8","user":{"login":"symfony","id":143937,"avatar_url":"https://avatars3.githubusercontent.com/u/143937?v=4","gravatar_id":"","url":"https://api.github.com/users/symfony","html_url":"https://github.com/symfony","followers_url":"https://api.github.com/users/symfony/followers","following_url":"https://api.github.com/users/symfony/following{/other_user}","gists_url":"https://api.github.com/users/symfony/gists{/gist_id}","starred_url":"https://api.github.com/users/symfony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/symfony/subscriptions","organizations_url":"https://api.github.com/users/symfony/orgs","repos_url":"https://api.github.com/users/symfony/repos","events_url":"https://api.github.com/users/symfony/events{/privacy}","received_events_url":"https://api.github.com/users/symfony/received_events","type":"Organization","site_admin":false},"repo":{"id":521583,"name":"symfony-docs","full_name":"symfony/symfony-docs","owner":{"login":"symfony","id":143937,"avatar_url":"https://avatars3.githubusercontent.com/u/143937?v=4","gravatar_id":"","url":"https://api.github.com/users/symfony","html_url":"https://github.com/symfony","followers_url":"https://api.github.com/users/symfony/followers","following_url":"https://api.github.com/users/symfony/following{/other_user}","gists_url":"https://api.github.com/users/symfony/gists{/gist_id}","starred_url":"https://api.github.com/users/symfony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/symfony/subscriptions","organizations_url":"https://api.github.com/users/symfony/orgs","repos_url":"https://api.github.com/users/symfony/repos","events_url":"https://api.github.com/users/symfony/events{/privacy}","received_events_url":"https://api.github.com/users/symfony/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/symfony/symfony-docs","description":"The Symfony documentation","fork":false,"url":"https://api.github.com/repos/symfony/symfony-docs","forks_url":"https://api.github.com/repos/symfony/symfony-docs/forks","keys_url":"https://api.github.com/repos/symfony/symfony-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/symfony/symfony-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/symfony/symfony-docs/teams","hooks_url":"https://api.github.com/repos/symfony/symfony-docs/hooks","issue_events_url":"https://api.github.com/repos/symfony/symfony-docs/issues/events{/number}","events_url":"https://api.github.com/repos/symfony/symfony-docs/events","assignees_url":"https://api.github.com/repos/symfony/symfony-docs/assignees{/user}","branches_url":"https://api.github.com/repos/symfony/symfony-docs/branches{/branch}","tags_url":"https://api.github.com/repos/symfony/symfony-docs/tags","blobs_url":"https://api.github.com/repos/symfony/symfony-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/symfony/symfony-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/symfony/symfony-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/symfony/symfony-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/symfony/symfony-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/symfony/symfony-docs/languages","stargazers_url":"https://api.github.com/repos/symfony/symfony-docs/stargazers","contributors_url":"https://api.github.com/repos/symfony/symfony-docs/contributors","subscribers_url":"https://api.github.com/repos/symfony/symfony-docs/subscribers","subscription_url":"https://api.github.com/repos/symfony/symfony-docs/subscription","commits_url":"https://api.github.com/repos/symfony/symfony-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/symfony/symfony-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/symfony/symfony-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/symfony/symfony-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/symfony/symfony-docs/contents/{+path}","compare_url":"https://api.github.com/repos/symfony/symfony-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/symfony/symfony-docs/merges","archive_url":"https://api.github.com/repos/symfony/symfony-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/symfony/symfony-docs/downloads","issues_url":"https://api.github.com/repos/symfony/symfony-docs/issues{/number}","pulls_url":"https://api.github.com/repos/symfony/symfony-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/symfony/symfony-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/symfony/symfony-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/symfony/symfony-docs/labels{/name}","releases_url":"https://api.github.com/repos/symfony/symfony-docs/releases{/id}","deployments_url":"https://api.github.com/repos/symfony/symfony-docs/deployments","created_at":"2010-02-17T08:43:51Z","updated_at":"2018-05-08T08:33:57Z","pushed_at":"2018-05-08T14:07:09Z","git_url":"git://github.com/symfony/symfony-docs.git","ssh_url":"git@github.com:symfony/symfony-docs.git","clone_url":"https://github.com/symfony/symfony-docs.git","svn_url":"https://github.com/symfony/symfony-docs","homepage":"https://symfony.com/doc","size":46274,"stargazers_count":1416,"watchers_count":1416,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":3527,"mirror_url":null,"archived":false,"open_issues_count":388,"license":null,"forks":3527,"open_issues":388,"watchers":1416,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/symfony/symfony-docs/pulls/9727"},"html":{"href":"https://github.com/symfony/symfony-docs/pull/9727"},"issue":{"href":"https://api.github.com/repos/symfony/symfony-docs/issues/9727"},"comments":{"href":"https://api.github.com/repos/symfony/symfony-docs/issues/9727/comments"},"review_comments":{"href":"https://api.github.com/repos/symfony/symfony-docs/pulls/9727/comments"},"review_comment":{"href":"https://api.github.com/repos/symfony/symfony-docs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/symfony/symfony-docs/pulls/9727/commits"},"statuses":{"href":"https://api.github.com/repos/symfony/symfony-docs/statuses/42e6934306667561aa72679d2de8dff1536f7a91"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"sroze"}}