{"action":"created","comment":{"url":"https://api.github.com/repos/comicrelief/rabbitmq/pulls/comments/57869718","id":57869718,"diff_hunk":"@@ -84,12 +84,11 @@ public function __construct($name, Connection $connection,\n     $this->connection = $connection;\n     $this->logger = $logger;\n     $this->modules = $modules;\n-\n     // Declare any exchanges required if configured.\n     $exchanges = $config->get('exchanges');\n     if ($exchanges) {\n       foreach ($exchanges as $name => $exchange) {\n-        $this->getChannel()->exchange_declare(\n+        $this->connection->getConnection()->channel()->exchange_declare(","path":"src/Queue/QueueBase.php","position":26,"original_position":26,"commit_id":"5fcba8d53dbc6aa96fb5579384545ae3834fb335","original_commit_id":"5fcba8d53dbc6aa96fb5579384545ae3834fb335","user":{"login":"pvhee","id":119355,"avatar_url":"https://avatars.githubusercontent.com/u/119355?v=3","gravatar_id":"","url":"https://api.github.com/users/pvhee","html_url":"https://github.com/pvhee","followers_url":"https://api.github.com/users/pvhee/followers","following_url":"https://api.github.com/users/pvhee/following{/other_user}","gists_url":"https://api.github.com/users/pvhee/gists{/gist_id}","starred_url":"https://api.github.com/users/pvhee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pvhee/subscriptions","organizations_url":"https://api.github.com/users/pvhee/orgs","repos_url":"https://api.github.com/users/pvhee/repos","events_url":"https://api.github.com/users/pvhee/events{/privacy}","received_events_url":"https://api.github.com/users/pvhee/received_events","type":"User","site_admin":false},"body":"Ok, let's keep as is then, thanks!","created_at":"2016-03-30T10:53:06Z","updated_at":"2016-03-30T10:53:06Z","html_url":"https://github.com/comicrelief/rabbitmq/pull/14#discussion_r57869718","pull_request_url":"https://api.github.com/repos/comicrelief/rabbitmq/pulls/14","_links":{"self":{"href":"https://api.github.com/repos/comicrelief/rabbitmq/pulls/comments/57869718"},"html":{"href":"https://github.com/comicrelief/rabbitmq/pull/14#discussion_r57869718"},"pull_request":{"href":"https://api.github.com/repos/comicrelief/rabbitmq/pulls/14"}}},"pull_request":{"url":"https://api.github.com/repos/comicrelief/rabbitmq/pulls/14","id":64488680,"html_url":"https://github.com/comicrelief/rabbitmq/pull/14","diff_url":"https://github.com/comicrelief/rabbitmq/pull/14.diff","patch_url":"https://github.com/comicrelief/rabbitmq/pull/14.patch","issue_url":"https://api.github.com/repos/comicrelief/rabbitmq/issues/14","number":14,"state":"open","locked":false,"title":"Example","user":{"login":"Saphyel","id":5764721,"avatar_url":"https://avatars.githubusercontent.com/u/5764721?v=3","gravatar_id":"","url":"https://api.github.com/users/Saphyel","html_url":"https://github.com/Saphyel","followers_url":"https://api.github.com/users/Saphyel/followers","following_url":"https://api.github.com/users/Saphyel/following{/other_user}","gists_url":"https://api.github.com/users/Saphyel/gists{/gist_id}","starred_url":"https://api.github.com/users/Saphyel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Saphyel/subscriptions","organizations_url":"https://api.github.com/users/Saphyel/orgs","repos_url":"https://api.github.com/users/Saphyel/repos","events_url":"https://api.github.com/users/Saphyel/events{/privacy}","received_events_url":"https://api.github.com/users/Saphyel/received_events","type":"User","site_admin":false},"body":"- [x] Merge 1st #13 ","created_at":"2016-03-29T15:54:32Z","updated_at":"2016-03-30T10:53:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3fab3fa162fa3a7dd1b252c39f870f96d72e5593","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/comicrelief/rabbitmq/pulls/14/commits","review_comments_url":"https://api.github.com/repos/comicrelief/rabbitmq/pulls/14/comments","review_comment_url":"https://api.github.com/repos/comicrelief/rabbitmq/pulls/comments{/number}","comments_url":"https://api.github.com/repos/comicrelief/rabbitmq/issues/14/comments","statuses_url":"https://api.github.com/repos/comicrelief/rabbitmq/statuses/5fcba8d53dbc6aa96fb5579384545ae3834fb335","head":{"label":"comicrelief:example","ref":"example","sha":"5fcba8d53dbc6aa96fb5579384545ae3834fb335","user":{"login":"comicrelief","id":1850368,"avatar_url":"https://avatars.githubusercontent.com/u/1850368?v=3","gravatar_id":"","url":"https://api.github.com/users/comicrelief","html_url":"https://github.com/comicrelief","followers_url":"https://api.github.com/users/comicrelief/followers","following_url":"https://api.github.com/users/comicrelief/following{/other_user}","gists_url":"https://api.github.com/users/comicrelief/gists{/gist_id}","starred_url":"https://api.github.com/users/comicrelief/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/comicrelief/subscriptions","organizations_url":"https://api.github.com/users/comicrelief/orgs","repos_url":"https://api.github.com/users/comicrelief/repos","events_url":"https://api.github.com/users/comicrelief/events{/privacy}","received_events_url":"https://api.github.com/users/comicrelief/received_events","type":"Organization","site_admin":false},"repo":{"id":54114747,"name":"rabbitmq","full_name":"comicrelief/rabbitmq","owner":{"login":"comicrelief","id":1850368,"avatar_url":"https://avatars.githubusercontent.com/u/1850368?v=3","gravatar_id":"","url":"https://api.github.com/users/comicrelief","html_url":"https://github.com/comicrelief","followers_url":"https://api.github.com/users/comicrelief/followers","following_url":"https://api.github.com/users/comicrelief/following{/other_user}","gists_url":"https://api.github.com/users/comicrelief/gists{/gist_id}","starred_url":"https://api.github.com/users/comicrelief/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/comicrelief/subscriptions","organizations_url":"https://api.github.com/users/comicrelief/orgs","repos_url":"https://api.github.com/users/comicrelief/repos","events_url":"https://api.github.com/users/comicrelief/events{/privacy}","received_events_url":"https://api.github.com/users/comicrelief/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/comicrelief/rabbitmq","description":"A Drupal 8 module exposing RabbitMQ to the Drupal 8 Queue API","fork":true,"url":"https://api.github.com/repos/comicrelief/rabbitmq","forks_url":"https://api.github.com/repos/comicrelief/rabbitmq/forks","keys_url":"https://api.github.com/repos/comicrelief/rabbitmq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/comicrelief/rabbitmq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/comicrelief/rabbitmq/teams","hooks_url":"https://api.github.com/repos/comicrelief/rabbitmq/hooks","issue_events_url":"https://api.github.com/repos/comicrelief/rabbitmq/issues/events{/number}","events_url":"https://api.github.com/repos/comicrelief/rabbitmq/events","assignees_url":"https://api.github.com/repos/comicrelief/rabbitmq/assignees{/user}","branches_url":"https://api.github.com/repos/comicrelief/rabbitmq/branches{/branch}","tags_url":"https://api.github.com/repos/comicrelief/rabbitmq/tags","blobs_url":"https://api.github.com/repos/comicrelief/rabbitmq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/comicrelief/rabbitmq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/comicrelief/rabbitmq/git/refs{/sha}","trees_url":"https://api.github.com/repos/comicrelief/rabbitmq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/comicrelief/rabbitmq/statuses/{sha}","languages_url":"https://api.github.com/repos/comicrelief/rabbitmq/languages","stargazers_url":"https://api.github.com/repos/comicrelief/rabbitmq/stargazers","contributors_url":"https://api.github.com/repos/comicrelief/rabbitmq/contributors","subscribers_url":"https://api.github.com/repos/comicrelief/rabbitmq/subscribers","subscription_url":"https://api.github.com/repos/comicrelief/rabbitmq/subscription","commits_url":"https://api.github.com/repos/comicrelief/rabbitmq/commits{/sha}","git_commits_url":"https://api.github.com/repos/comicrelief/rabbitmq/git/commits{/sha}","comments_url":"https://api.github.com/repos/comicrelief/rabbitmq/comments{/number}","issue_comment_url":"https://api.github.com/repos/comicrelief/rabbitmq/issues/comments{/number}","contents_url":"https://api.github.com/repos/comicrelief/rabbitmq/contents/{+path}","compare_url":"https://api.github.com/repos/comicrelief/rabbitmq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/comicrelief/rabbitmq/merges","archive_url":"https://api.github.com/repos/comicrelief/rabbitmq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/comicrelief/rabbitmq/downloads","issues_url":"https://api.github.com/repos/comicrelief/rabbitmq/issues{/number}","pulls_url":"https://api.github.com/repos/comicrelief/rabbitmq/pulls{/number}","milestones_url":"https://api.github.com/repos/comicrelief/rabbitmq/milestones{/number}","notifications_url":"https://api.github.com/repos/comicrelief/rabbitmq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/comicrelief/rabbitmq/labels{/name}","releases_url":"https://api.github.com/repos/comicrelief/rabbitmq/releases{/id}","deployments_url":"https://api.github.com/repos/comicrelief/rabbitmq/deployments","created_at":"2016-03-17T12:05:19Z","updated_at":"2016-03-25T19:25:58Z","pushed_at":"2016-03-30T10:12:33Z","git_url":"git://github.com/comicrelief/rabbitmq.git","ssh_url":"git@github.com:comicrelief/rabbitmq.git","clone_url":"https://github.com/comicrelief/rabbitmq.git","svn_url":"https://github.com/comicrelief/rabbitmq","homepage":null,"size":61,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"8.x-1.x"}},"base":{"label":"comicrelief:8.x-1.x","ref":"8.x-1.x","sha":"7f16ad659929bdbfb135be8c23d0a34201d89f31","user":{"login":"comicrelief","id":1850368,"avatar_url":"https://avatars.githubusercontent.com/u/1850368?v=3","gravatar_id":"","url":"https://api.github.com/users/comicrelief","html_url":"https://github.com/comicrelief","followers_url":"https://api.github.com/users/comicrelief/followers","following_url":"https://api.github.com/users/comicrelief/following{/other_user}","gists_url":"https://api.github.com/users/comicrelief/gists{/gist_id}","starred_url":"https://api.github.com/users/comicrelief/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/comicrelief/subscriptions","organizations_url":"https://api.github.com/users/comicrelief/orgs","repos_url":"https://api.github.com/users/comicrelief/repos","events_url":"https://api.github.com/users/comicrelief/events{/privacy}","received_events_url":"https://api.github.com/users/comicrelief/received_events","type":"Organization","site_admin":false},"repo":{"id":54114747,"name":"rabbitmq","full_name":"comicrelief/rabbitmq","owner":{"login":"comicrelief","id":1850368,"avatar_url":"https://avatars.githubusercontent.com/u/1850368?v=3","gravatar_id":"","url":"https://api.github.com/users/comicrelief","html_url":"https://github.com/comicrelief","followers_url":"https://api.github.com/users/comicrelief/followers","following_url":"https://api.github.com/users/comicrelief/following{/other_user}","gists_url":"https://api.github.com/users/comicrelief/gists{/gist_id}","starred_url":"https://api.github.com/users/comicrelief/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/comicrelief/subscriptions","organizations_url":"https://api.github.com/users/comicrelief/orgs","repos_url":"https://api.github.com/users/comicrelief/repos","events_url":"https://api.github.com/users/comicrelief/events{/privacy}","received_events_url":"https://api.github.com/users/comicrelief/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/comicrelief/rabbitmq","description":"A Drupal 8 module exposing RabbitMQ to the Drupal 8 Queue API","fork":true,"url":"https://api.github.com/repos/comicrelief/rabbitmq","forks_url":"https://api.github.com/repos/comicrelief/rabbitmq/forks","keys_url":"https://api.github.com/repos/comicrelief/rabbitmq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/comicrelief/rabbitmq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/comicrelief/rabbitmq/teams","hooks_url":"https://api.github.com/repos/comicrelief/rabbitmq/hooks","issue_events_url":"https://api.github.com/repos/comicrelief/rabbitmq/issues/events{/number}","events_url":"https://api.github.com/repos/comicrelief/rabbitmq/events","assignees_url":"https://api.github.com/repos/comicrelief/rabbitmq/assignees{/user}","branches_url":"https://api.github.com/repos/comicrelief/rabbitmq/branches{/branch}","tags_url":"https://api.github.com/repos/comicrelief/rabbitmq/tags","blobs_url":"https://api.github.com/repos/comicrelief/rabbitmq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/comicrelief/rabbitmq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/comicrelief/rabbitmq/git/refs{/sha}","trees_url":"https://api.github.com/repos/comicrelief/rabbitmq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/comicrelief/rabbitmq/statuses/{sha}","languages_url":"https://api.github.com/repos/comicrelief/rabbitmq/languages","stargazers_url":"https://api.github.com/repos/comicrelief/rabbitmq/stargazers","contributors_url":"https://api.github.com/repos/comicrelief/rabbitmq/contributors","subscribers_url":"https://api.github.com/repos/comicrelief/rabbitmq/subscribers","subscription_url":"https://api.github.com/repos/comicrelief/rabbitmq/subscription","commits_url":"https://api.github.com/repos/comicrelief/rabbitmq/commits{/sha}","git_commits_url":"https://api.github.com/repos/comicrelief/rabbitmq/git/commits{/sha}","comments_url":"https://api.github.com/repos/comicrelief/rabbitmq/comments{/number}","issue_comment_url":"https://api.github.com/repos/comicrelief/rabbitmq/issues/comments{/number}","contents_url":"https://api.github.com/repos/comicrelief/rabbitmq/contents/{+path}","compare_url":"https://api.github.com/repos/comicrelief/rabbitmq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/comicrelief/rabbitmq/merges","archive_url":"https://api.github.com/repos/comicrelief/rabbitmq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/comicrelief/rabbitmq/downloads","issues_url":"https://api.github.com/repos/comicrelief/rabbitmq/issues{/number}","pulls_url":"https://api.github.com/repos/comicrelief/rabbitmq/pulls{/number}","milestones_url":"https://api.github.com/repos/comicrelief/rabbitmq/milestones{/number}","notifications_url":"https://api.github.com/repos/comicrelief/rabbitmq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/comicrelief/rabbitmq/labels{/name}","releases_url":"https://api.github.com/repos/comicrelief/rabbitmq/releases{/id}","deployments_url":"https://api.github.com/repos/comicrelief/rabbitmq/deployments","created_at":"2016-03-17T12:05:19Z","updated_at":"2016-03-25T19:25:58Z","pushed_at":"2016-03-30T10:12:33Z","git_url":"git://github.com/comicrelief/rabbitmq.git","ssh_url":"git@github.com:comicrelief/rabbitmq.git","clone_url":"https://github.com/comicrelief/rabbitmq.git","svn_url":"https://github.com/comicrelief/rabbitmq","homepage":null,"size":61,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"8.x-1.x"}},"_links":{"self":{"href":"https://api.github.com/repos/comicrelief/rabbitmq/pulls/14"},"html":{"href":"https://github.com/comicrelief/rabbitmq/pull/14"},"issue":{"href":"https://api.github.com/repos/comicrelief/rabbitmq/issues/14"},"comments":{"href":"https://api.github.com/repos/comicrelief/rabbitmq/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/comicrelief/rabbitmq/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/comicrelief/rabbitmq/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/comicrelief/rabbitmq/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/comicrelief/rabbitmq/statuses/5fcba8d53dbc6aa96fb5579384545ae3834fb335"}}}}