{"action":"closed","number":416,"pull_request":{"url":"https://api.github.com/repos/EasyNetQ/EasyNetQ/pulls/416","id":32172735,"html_url":"https://github.com/EasyNetQ/EasyNetQ/pull/416","diff_url":"https://github.com/EasyNetQ/EasyNetQ/pull/416.diff","patch_url":"https://github.com/EasyNetQ/EasyNetQ/pull/416.patch","issue_url":"https://api.github.com/repos/EasyNetQ/EasyNetQ/issues/416","number":416,"state":"closed","locked":false,"title":"Priority queue support","user":{"login":"mleenhardt","id":8008842,"avatar_url":"https://avatars.githubusercontent.com/u/8008842?v=3","gravatar_id":"","url":"https://api.github.com/users/mleenhardt","html_url":"https://github.com/mleenhardt","followers_url":"https://api.github.com/users/mleenhardt/followers","following_url":"https://api.github.com/users/mleenhardt/following{/other_user}","gists_url":"https://api.github.com/users/mleenhardt/gists{/gist_id}","starred_url":"https://api.github.com/users/mleenhardt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mleenhardt/subscriptions","organizations_url":"https://api.github.com/users/mleenhardt/orgs","repos_url":"https://api.github.com/users/mleenhardt/repos","events_url":"https://api.github.com/users/mleenhardt/events{/privacy}","received_events_url":"https://api.github.com/users/mleenhardt/received_events","type":"User","site_admin":false},"body":"This contains support for the new [priority queue feature](http://www.rabbitmq.com/priority.html) added in 3.5. I'll bump the version after #415 is merged since this is required to work.\r\n\r\nAnother small change committed along, in `RabbitAdvancedBus.QueueDeclare` we used `Int32.MaxValue` as default parameter values for `perQueueTtl` and `expire`, and would considered them only if they were different from this. This seemed a bit weird to me as these values could actually be used, although it wouldn't make a lot of sense, but still. I thought it was better to use nullables, and consider these argument only if an actual value was supplied.","created_at":"2015-03-28T22:43:53Z","updated_at":"2015-03-31T08:16:03Z","closed_at":"2015-03-31T08:16:03Z","merged_at":"2015-03-31T08:16:03Z","merge_commit_sha":"923f7cef66969dfe29f563f238a5074fb7e062f8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/EasyNetQ/EasyNetQ/pulls/416/commits","review_comments_url":"https://api.github.com/repos/EasyNetQ/EasyNetQ/pulls/416/comments","review_comment_url":"https://api.github.com/repos/EasyNetQ/EasyNetQ/pulls/comments{/number}","comments_url":"https://api.github.com/repos/EasyNetQ/EasyNetQ/issues/416/comments","statuses_url":"https://api.github.com/repos/EasyNetQ/EasyNetQ/statuses/2dc451a92bb2ae22d327f97894d9dce8cce8766d","head":{"label":"mleenhardt:priority-queue-support","ref":"priority-queue-support","sha":"2dc451a92bb2ae22d327f97894d9dce8cce8766d","user":{"login":"mleenhardt","id":8008842,"avatar_url":"https://avatars.githubusercontent.com/u/8008842?v=3","gravatar_id":"","url":"https://api.github.com/users/mleenhardt","html_url":"https://github.com/mleenhardt","followers_url":"https://api.github.com/users/mleenhardt/followers","following_url":"https://api.github.com/users/mleenhardt/following{/other_user}","gists_url":"https://api.github.com/users/mleenhardt/gists{/gist_id}","starred_url":"https://api.github.com/users/mleenhardt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mleenhardt/subscriptions","organizations_url":"https://api.github.com/users/mleenhardt/orgs","repos_url":"https://api.github.com/users/mleenhardt/repos","events_url":"https://api.github.com/users/mleenhardt/events{/privacy}","received_events_url":"https://api.github.com/users/mleenhardt/received_events","type":"User","site_admin":false},"repo":{"id":29406187,"name":"EasyNetQ","full_name":"mleenhardt/EasyNetQ","owner":{"login":"mleenhardt","id":8008842,"avatar_url":"https://avatars.githubusercontent.com/u/8008842?v=3","gravatar_id":"","url":"https://api.github.com/users/mleenhardt","html_url":"https://github.com/mleenhardt","followers_url":"https://api.github.com/users/mleenhardt/followers","following_url":"https://api.github.com/users/mleenhardt/following{/other_user}","gists_url":"https://api.github.com/users/mleenhardt/gists{/gist_id}","starred_url":"https://api.github.com/users/mleenhardt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mleenhardt/subscriptions","organizations_url":"https://api.github.com/users/mleenhardt/orgs","repos_url":"https://api.github.com/users/mleenhardt/repos","events_url":"https://api.github.com/users/mleenhardt/events{/privacy}","received_events_url":"https://api.github.com/users/mleenhardt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mleenhardt/EasyNetQ","description":"An easy to use .NET API for RabbitMQ","fork":true,"url":"https://api.github.com/repos/mleenhardt/EasyNetQ","forks_url":"https://api.github.com/repos/mleenhardt/EasyNetQ/forks","keys_url":"https://api.github.com/repos/mleenhardt/EasyNetQ/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mleenhardt/EasyNetQ/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mleenhardt/EasyNetQ/teams","hooks_url":"https://api.github.com/repos/mleenhardt/EasyNetQ/hooks","issue_events_url":"https://api.github.com/repos/mleenhardt/EasyNetQ/issues/events{/number}","events_url":"https://api.github.com/repos/mleenhardt/EasyNetQ/events","assignees_url":"https://api.github.com/repos/mleenhardt/EasyNetQ/assignees{/user}","branches_url":"https://api.github.com/repos/mleenhardt/EasyNetQ/branches{/branch}","tags_url":"https://api.github.com/repos/mleenhardt/EasyNetQ/tags","blobs_url":"https://api.github.com/repos/mleenhardt/EasyNetQ/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mleenhardt/EasyNetQ/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mleenhardt/EasyNetQ/git/refs{/sha}","trees_url":"https://api.github.com/repos/mleenhardt/EasyNetQ/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mleenhardt/EasyNetQ/statuses/{sha}","languages_url":"https://api.github.com/repos/mleenhardt/EasyNetQ/languages","stargazers_url":"https://api.github.com/repos/mleenhardt/EasyNetQ/stargazers","contributors_url":"https://api.github.com/repos/mleenhardt/EasyNetQ/contributors","subscribers_url":"https://api.github.com/repos/mleenhardt/EasyNetQ/subscribers","subscription_url":"https://api.github.com/repos/mleenhardt/EasyNetQ/subscription","commits_url":"https://api.github.com/repos/mleenhardt/EasyNetQ/commits{/sha}","git_commits_url":"https://api.github.com/repos/mleenhardt/EasyNetQ/git/commits{/sha}","comments_url":"https://api.github.com/repos/mleenhardt/EasyNetQ/comments{/number}","issue_comment_url":"https://api.github.com/repos/mleenhardt/EasyNetQ/issues/comments{/number}","contents_url":"https://api.github.com/repos/mleenhardt/EasyNetQ/contents/{+path}","compare_url":"https://api.github.com/repos/mleenhardt/EasyNetQ/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mleenhardt/EasyNetQ/merges","archive_url":"https://api.github.com/repos/mleenhardt/EasyNetQ/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mleenhardt/EasyNetQ/downloads","issues_url":"https://api.github.com/repos/mleenhardt/EasyNetQ/issues{/number}","pulls_url":"https://api.github.com/repos/mleenhardt/EasyNetQ/pulls{/number}","milestones_url":"https://api.github.com/repos/mleenhardt/EasyNetQ/milestones{/number}","notifications_url":"https://api.github.com/repos/mleenhardt/EasyNetQ/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mleenhardt/EasyNetQ/labels{/name}","releases_url":"https://api.github.com/repos/mleenhardt/EasyNetQ/releases{/id}","created_at":"2015-01-17T21:24:47Z","updated_at":"2015-03-25T20:49:56Z","pushed_at":"2015-03-29T21:51:05Z","git_url":"git://github.com/mleenhardt/EasyNetQ.git","ssh_url":"git@github.com:mleenhardt/EasyNetQ.git","clone_url":"https://github.com/mleenhardt/EasyNetQ.git","svn_url":"https://github.com/mleenhardt/EasyNetQ","homepage":"http://easynetq.com","size":67003,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"EasyNetQ:master","ref":"master","sha":"b59daf50f117326222f2fd29d98bf9ac0d9e3f5c","user":{"login":"EasyNetQ","id":10451876,"avatar_url":"https://avatars.githubusercontent.com/u/10451876?v=3","gravatar_id":"","url":"https://api.github.com/users/EasyNetQ","html_url":"https://github.com/EasyNetQ","followers_url":"https://api.github.com/users/EasyNetQ/followers","following_url":"https://api.github.com/users/EasyNetQ/following{/other_user}","gists_url":"https://api.github.com/users/EasyNetQ/gists{/gist_id}","starred_url":"https://api.github.com/users/EasyNetQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EasyNetQ/subscriptions","organizations_url":"https://api.github.com/users/EasyNetQ/orgs","repos_url":"https://api.github.com/users/EasyNetQ/repos","events_url":"https://api.github.com/users/EasyNetQ/events{/privacy}","received_events_url":"https://api.github.com/users/EasyNetQ/received_events","type":"Organization","site_admin":false},"repo":{"id":1645954,"name":"EasyNetQ","full_name":"EasyNetQ/EasyNetQ","owner":{"login":"EasyNetQ","id":10451876,"avatar_url":"https://avatars.githubusercontent.com/u/10451876?v=3","gravatar_id":"","url":"https://api.github.com/users/EasyNetQ","html_url":"https://github.com/EasyNetQ","followers_url":"https://api.github.com/users/EasyNetQ/followers","following_url":"https://api.github.com/users/EasyNetQ/following{/other_user}","gists_url":"https://api.github.com/users/EasyNetQ/gists{/gist_id}","starred_url":"https://api.github.com/users/EasyNetQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EasyNetQ/subscriptions","organizations_url":"https://api.github.com/users/EasyNetQ/orgs","repos_url":"https://api.github.com/users/EasyNetQ/repos","events_url":"https://api.github.com/users/EasyNetQ/events{/privacy}","received_events_url":"https://api.github.com/users/EasyNetQ/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/EasyNetQ/EasyNetQ","description":"An easy to use .NET API for RabbitMQ","fork":false,"url":"https://api.github.com/repos/EasyNetQ/EasyNetQ","forks_url":"https://api.github.com/repos/EasyNetQ/EasyNetQ/forks","keys_url":"https://api.github.com/repos/EasyNetQ/EasyNetQ/keys{/key_id}","collaborators_url":"https://api.github.com/repos/EasyNetQ/EasyNetQ/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/EasyNetQ/EasyNetQ/teams","hooks_url":"https://api.github.com/repos/EasyNetQ/EasyNetQ/hooks","issue_events_url":"https://api.github.com/repos/EasyNetQ/EasyNetQ/issues/events{/number}","events_url":"https://api.github.com/repos/EasyNetQ/EasyNetQ/events","assignees_url":"https://api.github.com/repos/EasyNetQ/EasyNetQ/assignees{/user}","branches_url":"https://api.github.com/repos/EasyNetQ/EasyNetQ/branches{/branch}","tags_url":"https://api.github.com/repos/EasyNetQ/EasyNetQ/tags","blobs_url":"https://api.github.com/repos/EasyNetQ/EasyNetQ/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/EasyNetQ/EasyNetQ/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/EasyNetQ/EasyNetQ/git/refs{/sha}","trees_url":"https://api.github.com/repos/EasyNetQ/EasyNetQ/git/trees{/sha}","statuses_url":"https://api.github.com/repos/EasyNetQ/EasyNetQ/statuses/{sha}","languages_url":"https://api.github.com/repos/EasyNetQ/EasyNetQ/languages","stargazers_url":"https://api.github.com/repos/EasyNetQ/EasyNetQ/stargazers","contributors_url":"https://api.github.com/repos/EasyNetQ/EasyNetQ/contributors","subscribers_url":"https://api.github.com/repos/EasyNetQ/EasyNetQ/subscribers","subscription_url":"https://api.github.com/repos/EasyNetQ/EasyNetQ/subscription","commits_url":"https://api.github.com/repos/EasyNetQ/EasyNetQ/commits{/sha}","git_commits_url":"https://api.github.com/repos/EasyNetQ/EasyNetQ/git/commits{/sha}","comments_url":"https://api.github.com/repos/EasyNetQ/EasyNetQ/comments{/number}","issue_comment_url":"https://api.github.com/repos/EasyNetQ/EasyNetQ/issues/comments{/number}","contents_url":"https://api.github.com/repos/EasyNetQ/EasyNetQ/contents/{+path}","compare_url":"https://api.github.com/repos/EasyNetQ/EasyNetQ/compare/{base}...{head}","merges_url":"https://api.github.com/repos/EasyNetQ/EasyNetQ/merges","archive_url":"https://api.github.com/repos/EasyNetQ/EasyNetQ/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/EasyNetQ/EasyNetQ/downloads","issues_url":"https://api.github.com/repos/EasyNetQ/EasyNetQ/issues{/number}","pulls_url":"https://api.github.com/repos/EasyNetQ/EasyNetQ/pulls{/number}","milestones_url":"https://api.github.com/repos/EasyNetQ/EasyNetQ/milestones{/number}","notifications_url":"https://api.github.com/repos/EasyNetQ/EasyNetQ/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/EasyNetQ/EasyNetQ/labels{/name}","releases_url":"https://api.github.com/repos/EasyNetQ/EasyNetQ/releases{/id}","created_at":"2011-04-21T15:47:20Z","updated_at":"2015-03-31T02:15:27Z","pushed_at":"2015-03-31T08:16:03Z","git_url":"git://github.com/EasyNetQ/EasyNetQ.git","ssh_url":"git@github.com:EasyNetQ/EasyNetQ.git","clone_url":"https://github.com/EasyNetQ/EasyNetQ.git","svn_url":"https://github.com/EasyNetQ/EasyNetQ","homepage":"http://easynetq.com","size":71086,"stargazers_count":529,"watchers_count":529,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":251,"mirror_url":null,"open_issues_count":35,"forks":251,"open_issues":35,"watchers":529,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/EasyNetQ/EasyNetQ/pulls/416"},"html":{"href":"https://github.com/EasyNetQ/EasyNetQ/pull/416"},"issue":{"href":"https://api.github.com/repos/EasyNetQ/EasyNetQ/issues/416"},"comments":{"href":"https://api.github.com/repos/EasyNetQ/EasyNetQ/issues/416/comments"},"review_comments":{"href":"https://api.github.com/repos/EasyNetQ/EasyNetQ/pulls/416/comments"},"review_comment":{"href":"https://api.github.com/repos/EasyNetQ/EasyNetQ/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/EasyNetQ/EasyNetQ/pulls/416/commits"},"statuses":{"href":"https://api.github.com/repos/EasyNetQ/EasyNetQ/statuses/2dc451a92bb2ae22d327f97894d9dce8cce8766d"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"mikehadlow","id":223097,"avatar_url":"https://avatars.githubusercontent.com/u/223097?v=3","gravatar_id":"","url":"https://api.github.com/users/mikehadlow","html_url":"https://github.com/mikehadlow","followers_url":"https://api.github.com/users/mikehadlow/followers","following_url":"https://api.github.com/users/mikehadlow/following{/other_user}","gists_url":"https://api.github.com/users/mikehadlow/gists{/gist_id}","starred_url":"https://api.github.com/users/mikehadlow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikehadlow/subscriptions","organizations_url":"https://api.github.com/users/mikehadlow/orgs","repos_url":"https://api.github.com/users/mikehadlow/repos","events_url":"https://api.github.com/users/mikehadlow/events{/privacy}","received_events_url":"https://api.github.com/users/mikehadlow/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"commits":4,"additions":137,"deletions":97,"changed_files":5}}