{"action":"created","comment":{"url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/pulls/comments/63190737","id":63190737,"diff_hunk":"@@ -0,0 +1,25 @@\n+# How ServiceControl Retries Works with regards to AzureStorageQueue Transport\n+\n+To get better understanding how retry mechanism works in ServiceControl refer to [How ServiceControl Retries Works] (https://github.com/Particular/ServiceControl/blob/master/docs/bulk-retries-design.md)\n+\n+## When using one storage account \n+ * Both endpoints exist in the same storage account as well as error queue\n+ * Messages that are failed residing in error queue contains in `FailedQ` header name of the queue of the receiver\n+ * ServiceControl while doing retry is calling send method with destination set to queue used in `FailedQ` header\n+ * everything works as expected\n+\n+## When using multiple storage accounts\n+This section contains analysis of multiple storage account support when doing retry.\n+\n+### Each endpoint resides in separate storage account\n+ * If every account has it's own error queue (that is situated in corresponding storage accounts)\n+  * ServiceControl need to have two instances each connected to 1 storage account\n+  * Failed messages can be retried as the failed queue is in the same storage account as destination queue\n+  * Each instance of SC can see only part of the conversation\n+  ","path":"docs/retry-for-asq.md","position":19,"original_position":19,"commit_id":"dd5b80e67da1d6d1505d712d1e7bb16a680553d8","original_commit_id":"dd5b80e67da1d6d1505d712d1e7bb16a680553d8","user":{"login":"SeanFeldman","id":1309622,"avatar_url":"https://avatars.githubusercontent.com/u/1309622?v=3","gravatar_id":"","url":"https://api.github.com/users/SeanFeldman","html_url":"https://github.com/SeanFeldman","followers_url":"https://api.github.com/users/SeanFeldman/followers","following_url":"https://api.github.com/users/SeanFeldman/following{/other_user}","gists_url":"https://api.github.com/users/SeanFeldman/gists{/gist_id}","starred_url":"https://api.github.com/users/SeanFeldman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SeanFeldman/subscriptions","organizations_url":"https://api.github.com/users/SeanFeldman/orgs","repos_url":"https://api.github.com/users/SeanFeldman/repos","events_url":"https://api.github.com/users/SeanFeldman/events{/privacy}","received_events_url":"https://api.github.com/users/SeanFeldman/received_events","type":"User","site_admin":false},"body":"extra break line?","created_at":"2016-05-13T14:23:33Z","updated_at":"2016-05-13T14:23:33Z","html_url":"https://github.com/Particular/NServiceBus.AzureStorageQueues/pull/120#discussion_r63190737","pull_request_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/pulls/120","_links":{"self":{"href":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/pulls/comments/63190737"},"html":{"href":"https://github.com/Particular/NServiceBus.AzureStorageQueues/pull/120#discussion_r63190737"},"pull_request":{"href":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/pulls/120"}}},"pull_request":{"url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/pulls/120","id":69988539,"html_url":"https://github.com/Particular/NServiceBus.AzureStorageQueues/pull/120","diff_url":"https://github.com/Particular/NServiceBus.AzureStorageQueues/pull/120.diff","patch_url":"https://github.com/Particular/NServiceBus.AzureStorageQueues/pull/120.patch","issue_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/issues/120","number":120,"state":"open","locked":false,"title":"Adding retry description into ASQ Transport","user":{"login":"WojcikMike","id":604826,"avatar_url":"https://avatars.githubusercontent.com/u/604826?v=3","gravatar_id":"","url":"https://api.github.com/users/WojcikMike","html_url":"https://github.com/WojcikMike","followers_url":"https://api.github.com/users/WojcikMike/followers","following_url":"https://api.github.com/users/WojcikMike/following{/other_user}","gists_url":"https://api.github.com/users/WojcikMike/gists{/gist_id}","starred_url":"https://api.github.com/users/WojcikMike/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WojcikMike/subscriptions","organizations_url":"https://api.github.com/users/WojcikMike/orgs","repos_url":"https://api.github.com/users/WojcikMike/repos","events_url":"https://api.github.com/users/WojcikMike/events{/privacy}","received_events_url":"https://api.github.com/users/WojcikMike/received_events","type":"User","site_admin":false},"body":"@Particular/azure-storage-queues-maintainers please review","created_at":"2016-05-13T12:34:10Z","updated_at":"2016-05-13T14:23:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ed580046ba64989688ec09e348a56c3604ef0ffe","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/pulls/120/commits","review_comments_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/pulls/120/comments","review_comment_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/issues/120/comments","statuses_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/statuses/dd5b80e67da1d6d1505d712d1e7bb16a680553d8","head":{"label":"Particular:retry_doc_asq","ref":"retry_doc_asq","sha":"dd5b80e67da1d6d1505d712d1e7bb16a680553d8","user":{"login":"Particular","id":5038441,"avatar_url":"https://avatars.githubusercontent.com/u/5038441?v=3","gravatar_id":"","url":"https://api.github.com/users/Particular","html_url":"https://github.com/Particular","followers_url":"https://api.github.com/users/Particular/followers","following_url":"https://api.github.com/users/Particular/following{/other_user}","gists_url":"https://api.github.com/users/Particular/gists{/gist_id}","starred_url":"https://api.github.com/users/Particular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Particular/subscriptions","organizations_url":"https://api.github.com/users/Particular/orgs","repos_url":"https://api.github.com/users/Particular/repos","events_url":"https://api.github.com/users/Particular/events{/privacy}","received_events_url":"https://api.github.com/users/Particular/received_events","type":"Organization","site_admin":false},"repo":{"id":29925374,"name":"NServiceBus.AzureStorageQueues","full_name":"Particular/NServiceBus.AzureStorageQueues","owner":{"login":"Particular","id":5038441,"avatar_url":"https://avatars.githubusercontent.com/u/5038441?v=3","gravatar_id":"","url":"https://api.github.com/users/Particular","html_url":"https://github.com/Particular","followers_url":"https://api.github.com/users/Particular/followers","following_url":"https://api.github.com/users/Particular/following{/other_user}","gists_url":"https://api.github.com/users/Particular/gists{/gist_id}","starred_url":"https://api.github.com/users/Particular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Particular/subscriptions","organizations_url":"https://api.github.com/users/Particular/orgs","repos_url":"https://api.github.com/users/Particular/repos","events_url":"https://api.github.com/users/Particular/events{/privacy}","received_events_url":"https://api.github.com/users/Particular/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Particular/NServiceBus.AzureStorageQueues","description":"Azure Storage Queues Transport for NServiceBus","fork":false,"url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues","forks_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/forks","keys_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/teams","hooks_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/hooks","issue_events_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/issues/events{/number}","events_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/events","assignees_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/assignees{/user}","branches_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/branches{/branch}","tags_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/tags","blobs_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/git/refs{/sha}","trees_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/statuses/{sha}","languages_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/languages","stargazers_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/stargazers","contributors_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/contributors","subscribers_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/subscribers","subscription_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/subscription","commits_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/commits{/sha}","git_commits_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/git/commits{/sha}","comments_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/comments{/number}","issue_comment_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/issues/comments{/number}","contents_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/contents/{+path}","compare_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/merges","archive_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/downloads","issues_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/issues{/number}","pulls_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/pulls{/number}","milestones_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/milestones{/number}","notifications_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/labels{/name}","releases_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/releases{/id}","deployments_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/deployments","created_at":"2015-01-27T17:22:40Z","updated_at":"2016-02-22T00:44:01Z","pushed_at":"2016-05-13T12:34:10Z","git_url":"git://github.com/Particular/NServiceBus.AzureStorageQueues.git","ssh_url":"git@github.com:Particular/NServiceBus.AzureStorageQueues.git","clone_url":"https://github.com/Particular/NServiceBus.AzureStorageQueues.git","svn_url":"https://github.com/Particular/NServiceBus.AzureStorageQueues","homepage":"http://docs.particular.net/nservicebus/azure/azure-storage-queues-transport","size":892,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":9,"forks":2,"open_issues":9,"watchers":0,"default_branch":"develop"}},"base":{"label":"Particular:develop","ref":"develop","sha":"792525559823b44a13da9671ba6e40cf8608e3c7","user":{"login":"Particular","id":5038441,"avatar_url":"https://avatars.githubusercontent.com/u/5038441?v=3","gravatar_id":"","url":"https://api.github.com/users/Particular","html_url":"https://github.com/Particular","followers_url":"https://api.github.com/users/Particular/followers","following_url":"https://api.github.com/users/Particular/following{/other_user}","gists_url":"https://api.github.com/users/Particular/gists{/gist_id}","starred_url":"https://api.github.com/users/Particular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Particular/subscriptions","organizations_url":"https://api.github.com/users/Particular/orgs","repos_url":"https://api.github.com/users/Particular/repos","events_url":"https://api.github.com/users/Particular/events{/privacy}","received_events_url":"https://api.github.com/users/Particular/received_events","type":"Organization","site_admin":false},"repo":{"id":29925374,"name":"NServiceBus.AzureStorageQueues","full_name":"Particular/NServiceBus.AzureStorageQueues","owner":{"login":"Particular","id":5038441,"avatar_url":"https://avatars.githubusercontent.com/u/5038441?v=3","gravatar_id":"","url":"https://api.github.com/users/Particular","html_url":"https://github.com/Particular","followers_url":"https://api.github.com/users/Particular/followers","following_url":"https://api.github.com/users/Particular/following{/other_user}","gists_url":"https://api.github.com/users/Particular/gists{/gist_id}","starred_url":"https://api.github.com/users/Particular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Particular/subscriptions","organizations_url":"https://api.github.com/users/Particular/orgs","repos_url":"https://api.github.com/users/Particular/repos","events_url":"https://api.github.com/users/Particular/events{/privacy}","received_events_url":"https://api.github.com/users/Particular/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Particular/NServiceBus.AzureStorageQueues","description":"Azure Storage Queues Transport for NServiceBus","fork":false,"url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues","forks_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/forks","keys_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/teams","hooks_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/hooks","issue_events_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/issues/events{/number}","events_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/events","assignees_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/assignees{/user}","branches_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/branches{/branch}","tags_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/tags","blobs_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/git/refs{/sha}","trees_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/statuses/{sha}","languages_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/languages","stargazers_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/stargazers","contributors_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/contributors","subscribers_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/subscribers","subscription_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/subscription","commits_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/commits{/sha}","git_commits_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/git/commits{/sha}","comments_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/comments{/number}","issue_comment_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/issues/comments{/number}","contents_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/contents/{+path}","compare_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/merges","archive_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/downloads","issues_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/issues{/number}","pulls_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/pulls{/number}","milestones_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/milestones{/number}","notifications_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/labels{/name}","releases_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/releases{/id}","deployments_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/deployments","created_at":"2015-01-27T17:22:40Z","updated_at":"2016-02-22T00:44:01Z","pushed_at":"2016-05-13T12:34:10Z","git_url":"git://github.com/Particular/NServiceBus.AzureStorageQueues.git","ssh_url":"git@github.com:Particular/NServiceBus.AzureStorageQueues.git","clone_url":"https://github.com/Particular/NServiceBus.AzureStorageQueues.git","svn_url":"https://github.com/Particular/NServiceBus.AzureStorageQueues","homepage":"http://docs.particular.net/nservicebus/azure/azure-storage-queues-transport","size":892,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":9,"forks":2,"open_issues":9,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/pulls/120"},"html":{"href":"https://github.com/Particular/NServiceBus.AzureStorageQueues/pull/120"},"issue":{"href":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/issues/120"},"comments":{"href":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/issues/120/comments"},"review_comments":{"href":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/pulls/120/comments"},"review_comment":{"href":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/pulls/120/commits"},"statuses":{"href":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/statuses/dd5b80e67da1d6d1505d712d1e7bb16a680553d8"}}}}