{"action":"closed","issue":{"url":"https://api.github.com/repos/mookofe/tail/issues/11","repository_url":"https://api.github.com/repos/mookofe/tail","labels_url":"https://api.github.com/repos/mookofe/tail/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/mookofe/tail/issues/11/comments","events_url":"https://api.github.com/repos/mookofe/tail/issues/11/events","html_url":"https://github.com/mookofe/tail/issues/11","id":167625057,"number":11,"title":"Not possible to change exchange type","user":{"login":"jaumeavila","id":857367,"avatar_url":"https://avatars.githubusercontent.com/u/857367?v=3","gravatar_id":"","url":"https://api.github.com/users/jaumeavila","html_url":"https://github.com/jaumeavila","followers_url":"https://api.github.com/users/jaumeavila/followers","following_url":"https://api.github.com/users/jaumeavila/following{/other_user}","gists_url":"https://api.github.com/users/jaumeavila/gists{/gist_id}","starred_url":"https://api.github.com/users/jaumeavila/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaumeavila/subscriptions","organizations_url":"https://api.github.com/users/jaumeavila/orgs","repos_url":"https://api.github.com/users/jaumeavila/repos","events_url":"https://api.github.com/users/jaumeavila/events{/privacy}","received_events_url":"https://api.github.com/users/jaumeavila/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/mookofe/tail/milestones/2","html_url":"https://github.com/mookofe/tail/milestones/v1.0.5","labels_url":"https://api.github.com/repos/mookofe/tail/milestones/2/labels","id":1694990,"number":2,"title":"v1.0.5","description":"","creator":{"login":"mookofe","id":2395540,"avatar_url":"https://avatars.githubusercontent.com/u/2395540?v=3","gravatar_id":"","url":"https://api.github.com/users/mookofe","html_url":"https://github.com/mookofe","followers_url":"https://api.github.com/users/mookofe/followers","following_url":"https://api.github.com/users/mookofe/following{/other_user}","gists_url":"https://api.github.com/users/mookofe/gists{/gist_id}","starred_url":"https://api.github.com/users/mookofe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mookofe/subscriptions","organizations_url":"https://api.github.com/users/mookofe/orgs","repos_url":"https://api.github.com/users/mookofe/repos","events_url":"https://api.github.com/users/mookofe/events{/privacy}","received_events_url":"https://api.github.com/users/mookofe/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":3,"state":"open","created_at":"2016-04-09T04:50:02Z","updated_at":"2016-07-30T04:41:25Z","due_on":"2016-07-29T04:00:00Z","closed_at":null},"comments":6,"created_at":"2016-07-26T14:42:47Z","updated_at":"2016-07-30T04:41:25Z","closed_at":"2016-07-30T04:41:25Z","body":"Hi, \r\nAccording to the documentation, the exchange type should be possible to change, but when added in the array of configuration ('exchange_type' => 'topic'), I get this error:\r\n[Mookofe\\Tail\\Exceptions\\InvalidOptionException]\r\n  Option [exchange_type] is not valid\r\n\r\nAlso, according to the code in Connection.php , which is:\r\n$this->AMQPConnection = new AMQPConnection($this->host, $this->port, $this->username, $this->password, $this->vhost);\r\n            $this->channel = $this->AMQPConnection->channel();\r\n            $this->channel->queue_declare($this->queue_name, false, true, false, false);\r\n            $this->channel->exchange_declare($this->exchange, 'direct', false, true, false);\r\n            $this->channel->queue_bind($this->queue_name, $this->exchange);\r\n\r\nThe exchange type is hardcoded always in 'direct' and the durable and other parameters are not changeable.\r\n\r\nThanks,\r\nJaume "}}
{"actor":{"display_login":"mookofe"}}