{"action":"created","issue":{"url":"https://api.github.com/repos/rabbitmq/rabbitmq-server/issues/499","repository_url":"https://api.github.com/repos/rabbitmq/rabbitmq-server","labels_url":"https://api.github.com/repos/rabbitmq/rabbitmq-server/issues/499/labels{/name}","comments_url":"https://api.github.com/repos/rabbitmq/rabbitmq-server/issues/499/comments","events_url":"https://api.github.com/repos/rabbitmq/rabbitmq-server/issues/499/events","html_url":"https://github.com/rabbitmq/rabbitmq-server/issues/499","id":122353947,"number":499,"title":"Block publishers when queue length limit is reached","user":{"login":"vgkiziakis","id":16257646,"avatar_url":"https://avatars.githubusercontent.com/u/16257646?v=3","gravatar_id":"","url":"https://api.github.com/users/vgkiziakis","html_url":"https://github.com/vgkiziakis","followers_url":"https://api.github.com/users/vgkiziakis/followers","following_url":"https://api.github.com/users/vgkiziakis/following{/other_user}","gists_url":"https://api.github.com/users/vgkiziakis/gists{/gist_id}","starred_url":"https://api.github.com/users/vgkiziakis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vgkiziakis/subscriptions","organizations_url":"https://api.github.com/users/vgkiziakis/orgs","repos_url":"https://api.github.com/users/vgkiziakis/repos","events_url":"https://api.github.com/users/vgkiziakis/events{/privacy}","received_events_url":"https://api.github.com/users/vgkiziakis/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rabbitmq/rabbitmq-server/labels/effort-high","name":"effort-high","color":"003979"},{"url":"https://api.github.com/repos/rabbitmq/rabbitmq-server/labels/enhancement","name":"enhancement","color":"009800"}],"state":"open","locked":false,"assignee":{"login":"hairyhum","id":784180,"avatar_url":"https://avatars.githubusercontent.com/u/784180?v=3","gravatar_id":"","url":"https://api.github.com/users/hairyhum","html_url":"https://github.com/hairyhum","followers_url":"https://api.github.com/users/hairyhum/followers","following_url":"https://api.github.com/users/hairyhum/following{/other_user}","gists_url":"https://api.github.com/users/hairyhum/gists{/gist_id}","starred_url":"https://api.github.com/users/hairyhum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hairyhum/subscriptions","organizations_url":"https://api.github.com/users/hairyhum/orgs","repos_url":"https://api.github.com/users/hairyhum/repos","events_url":"https://api.github.com/users/hairyhum/events{/privacy}","received_events_url":"https://api.github.com/users/hairyhum/received_events","type":"User","site_admin":false},"milestone":null,"comments":14,"created_at":"2015-12-15T20:00:04Z","updated_at":"2016-02-26T11:43:51Z","closed_at":null,"body":"Currently if a queue has a length limit configured\r\n> Messages will be dropped or dead-lettered from the front of the queue to make room for new messages once the limit is reached.\r\n\r\nIn some cases (where publishers want to know that the messages they send are never discarded) it may be useful to block publishers that send messages to exchanges that have bound queues which have reached their length limit rather than discarding older messages in those queues. The publishers would only be able to send messages again once all queues bound to the target exchange have room.\r\n\r\nThe above was briefly discussed last Wednesday in our meeting with @tsaleh and @jerenkrantz at the Pivotal offices in London."},"comment":{"url":"https://api.github.com/repos/rabbitmq/rabbitmq-server/issues/comments/189235807","html_url":"https://github.com/rabbitmq/rabbitmq-server/issues/499#issuecomment-189235807","issue_url":"https://api.github.com/repos/rabbitmq/rabbitmq-server/issues/499","id":189235807,"user":{"login":"michaelklishin","id":1090,"avatar_url":"https://avatars.githubusercontent.com/u/1090?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelklishin","html_url":"https://github.com/michaelklishin","followers_url":"https://api.github.com/users/michaelklishin/followers","following_url":"https://api.github.com/users/michaelklishin/following{/other_user}","gists_url":"https://api.github.com/users/michaelklishin/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelklishin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelklishin/subscriptions","organizations_url":"https://api.github.com/users/michaelklishin/orgs","repos_url":"https://api.github.com/users/michaelklishin/repos","events_url":"https://api.github.com/users/michaelklishin/events{/privacy}","received_events_url":"https://api.github.com/users/michaelklishin/received_events","type":"User","site_admin":false},"created_at":"2016-02-26T11:43:51Z","updated_at":"2016-02-26T11:43:51Z","body":"I think we should stop discussing this refactoring idea in this issue as there seems to be little connection. Please submit a PR for what you have, and include the state diagrams above."}}