{"action":"created","issue":{"url":"https://api.github.com/repos/eandersson/amqpstorm/issues/13","repository_url":"https://api.github.com/repos/eandersson/amqpstorm","labels_url":"https://api.github.com/repos/eandersson/amqpstorm/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/eandersson/amqpstorm/issues/13/comments","events_url":"https://api.github.com/repos/eandersson/amqpstorm/issues/13/events","html_url":"https://github.com/eandersson/amqpstorm/issues/13","id":149939245,"number":13,"title":"Example of Robust multi-channel consumer and publisher","user":{"login":"thejuan","id":329807,"avatar_url":"https://avatars.githubusercontent.com/u/329807?v=3","gravatar_id":"","url":"https://api.github.com/users/thejuan","html_url":"https://github.com/thejuan","followers_url":"https://api.github.com/users/thejuan/followers","following_url":"https://api.github.com/users/thejuan/following{/other_user}","gists_url":"https://api.github.com/users/thejuan/gists{/gist_id}","starred_url":"https://api.github.com/users/thejuan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thejuan/subscriptions","organizations_url":"https://api.github.com/users/thejuan/orgs","repos_url":"https://api.github.com/users/thejuan/repos","events_url":"https://api.github.com/users/thejuan/events{/privacy}","received_events_url":"https://api.github.com/users/thejuan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-04-21T02:19:57Z","updated_at":"2016-04-22T00:10:18Z","closed_at":null,"body":"Whats the best way to reconnect when a channel errors?\r\nIs it OK to call connection.open() to re-open a closed/errored connection? same for channel.open ?\r\nIs it thread safe for multiple threads to try and re-open the connection on error?\r\nOr do we need to pass around a connection wrapper that locks?"},"comment":{"url":"https://api.github.com/repos/eandersson/amqpstorm/issues/comments/213167485","html_url":"https://github.com/eandersson/amqpstorm/issues/13#issuecomment-213167485","issue_url":"https://api.github.com/repos/eandersson/amqpstorm/issues/13","id":213167485,"user":{"login":"thejuan","id":329807,"avatar_url":"https://avatars.githubusercontent.com/u/329807?v=3","gravatar_id":"","url":"https://api.github.com/users/thejuan","html_url":"https://github.com/thejuan","followers_url":"https://api.github.com/users/thejuan/followers","following_url":"https://api.github.com/users/thejuan/following{/other_user}","gists_url":"https://api.github.com/users/thejuan/gists{/gist_id}","starred_url":"https://api.github.com/users/thejuan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thejuan/subscriptions","organizations_url":"https://api.github.com/users/thejuan/orgs","repos_url":"https://api.github.com/users/thejuan/repos","events_url":"https://api.github.com/users/thejuan/events{/privacy}","received_events_url":"https://api.github.com/users/thejuan/received_events","type":"User","site_admin":false},"created_at":"2016-04-22T00:10:18Z","updated_at":"2016-04-22T00:10:18Z","body":"Thanks. Looks good.\r\nWhy in all your examples do you do this?\r\nif not self.channel.consumer_tags:\r\n                self.channel.close()"}}