{"action":"opened","issue":{"url":"https://api.github.com/repos/dropbox/amqp-coffee/issues/40","labels_url":"https://api.github.com/repos/dropbox/amqp-coffee/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/dropbox/amqp-coffee/issues/40/comments","events_url":"https://api.github.com/repos/dropbox/amqp-coffee/issues/40/events","html_url":"https://github.com/dropbox/amqp-coffee/issues/40","id":97166264,"number":40,"title":"AMQP channels question","user":{"login":"janajri","id":2857405,"avatar_url":"https://avatars.githubusercontent.com/u/2857405?v=3","gravatar_id":"","url":"https://api.github.com/users/janajri","html_url":"https://github.com/janajri","followers_url":"https://api.github.com/users/janajri/followers","following_url":"https://api.github.com/users/janajri/following{/other_user}","gists_url":"https://api.github.com/users/janajri/gists{/gist_id}","starred_url":"https://api.github.com/users/janajri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janajri/subscriptions","organizations_url":"https://api.github.com/users/janajri/orgs","repos_url":"https://api.github.com/users/janajri/repos","events_url":"https://api.github.com/users/janajri/events{/privacy}","received_events_url":"https://api.github.com/users/janajri/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-24T23:11:22Z","updated_at":"2015-07-24T23:11:22Z","closed_at":null,"body":"We've recently gone live to production using your library to bridge RabbitMQ queues with clients who go on/off line quite frequently (think mobile). Whenever a client comes online we send a consume to the rabbitmq server and then when the client goes offline, we fire a consume.close(). During our beta stage things seemed to have gone just fine, however, recently, we've been seeing many open channels on our rabbitmq server that have no consumers. I was under the impression that a single channel would suffice for consuming for multiple queues where each queue ties to one client and one client only. Is my mental model incorrect?\r\n\r\nAny thoughts?\r\nCode looks somehting like this:\r\n\r\n```javascript\r\n  var Conn = Rabbit.get();\r\n   client.consume = Conn.consume(/* params*/);\r\n   ...\r\n   client.on('disconnected', function(){\r\n     client.consumer.close();\r\n   });\r\n```"}}