{"action":"created","comment":{"url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/pulls/comments/40522498","id":40522498,"diff_hunk":"@@ -61,7 +64,9 @@ public void Send(TransportMessage message, Address address)\n                     schemaName = SchemaNameCollection[ address.Queue ];\n                 }\n \n-                if (UnitOfWork.HasActiveTransaction(queueConnectionString))\n+                bool suppressNativeTransactions;\n+                PipelineExecutor.CurrentContext.TryGet(\"do-not-enlist-in-native-transaction\", out suppressNativeTransactions);","path":"src/NServiceBus.SqlServer/SqlServerMessageSender.cs","position":25,"original_position":25,"commit_id":"9e640a78f13a5df282b2b4d96dd1fc212859fa40","original_commit_id":"9e640a78f13a5df282b2b4d96dd1fc212859fa40","user":{"login":"SzymonPobiega","id":163318,"avatar_url":"https://avatars.githubusercontent.com/u/163318?v=3","gravatar_id":"","url":"https://api.github.com/users/SzymonPobiega","html_url":"https://github.com/SzymonPobiega","followers_url":"https://api.github.com/users/SzymonPobiega/followers","following_url":"https://api.github.com/users/SzymonPobiega/following{/other_user}","gists_url":"https://api.github.com/users/SzymonPobiega/gists{/gist_id}","starred_url":"https://api.github.com/users/SzymonPobiega/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SzymonPobiega/subscriptions","organizations_url":"https://api.github.com/users/SzymonPobiega/orgs","repos_url":"https://api.github.com/users/SzymonPobiega/repos","events_url":"https://api.github.com/users/SzymonPobiega/events{/privacy}","received_events_url":"https://api.github.com/users/SzymonPobiega/received_events","type":"User","site_admin":false},"body":"How is this solved in 5.x? Are we using `DoNotEnlistInReceiveTransaction`?","created_at":"2015-09-28T07:05:50Z","updated_at":"2015-09-28T07:05:50Z","html_url":"https://github.com/Particular/NServiceBus.SqlServer/pull/92#discussion_r40522498","pull_request_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/pulls/92","_links":{"self":{"href":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/pulls/comments/40522498"},"html":{"href":"https://github.com/Particular/NServiceBus.SqlServer/pull/92#discussion_r40522498"},"pull_request":{"href":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/pulls/92"}}},"pull_request":{"url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/pulls/92","id":45918904,"html_url":"https://github.com/Particular/NServiceBus.SqlServer/pull/92","diff_url":"https://github.com/Particular/NServiceBus.SqlServer/pull/92.diff","patch_url":"https://github.com/Particular/NServiceBus.SqlServer/pull/92.patch","issue_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/issues/92","number":92,"state":"open","locked":false,"title":"support suppressing native transactions","user":{"login":"timbussmann","id":3524870,"avatar_url":"https://avatars.githubusercontent.com/u/3524870?v=3","gravatar_id":"","url":"https://api.github.com/users/timbussmann","html_url":"https://github.com/timbussmann","followers_url":"https://api.github.com/users/timbussmann/followers","following_url":"https://api.github.com/users/timbussmann/following{/other_user}","gists_url":"https://api.github.com/users/timbussmann/gists{/gist_id}","starred_url":"https://api.github.com/users/timbussmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timbussmann/subscriptions","organizations_url":"https://api.github.com/users/timbussmann/orgs","repos_url":"https://api.github.com/users/timbussmann/repos","events_url":"https://api.github.com/users/timbussmann/events{/privacy}","received_events_url":"https://api.github.com/users/timbussmann/received_events","type":"User","site_admin":false},"body":"related to https://github.com/Particular/NServiceBus/issues/2885 , message senders need a way to send a message without enlisting in native transactions.\r\n\r\nalso fixes https://github.com/Particular/NServiceBus.SqlServer/issues/91","created_at":"2015-09-24T16:27:50Z","updated_at":"2015-09-28T07:05:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f3ec9f0bd3cee1dc2c89624be482df4e96118121","assignee":{"login":"SzymonPobiega","id":163318,"avatar_url":"https://avatars.githubusercontent.com/u/163318?v=3","gravatar_id":"","url":"https://api.github.com/users/SzymonPobiega","html_url":"https://github.com/SzymonPobiega","followers_url":"https://api.github.com/users/SzymonPobiega/followers","following_url":"https://api.github.com/users/SzymonPobiega/following{/other_user}","gists_url":"https://api.github.com/users/SzymonPobiega/gists{/gist_id}","starred_url":"https://api.github.com/users/SzymonPobiega/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SzymonPobiega/subscriptions","organizations_url":"https://api.github.com/users/SzymonPobiega/orgs","repos_url":"https://api.github.com/users/SzymonPobiega/repos","events_url":"https://api.github.com/users/SzymonPobiega/events{/privacy}","received_events_url":"https://api.github.com/users/SzymonPobiega/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/pulls/92/commits","review_comments_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/pulls/92/comments","review_comment_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/issues/92/comments","statuses_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/statuses/9e640a78f13a5df282b2b4d96dd1fc212859fa40","head":{"label":"Particular:hotfix-1.2.4","ref":"hotfix-1.2.4","sha":"9e640a78f13a5df282b2b4d96dd1fc212859fa40","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":12769207,"name":"NServiceBus.SqlServer","full_name":"Particular/NServiceBus.SqlServer","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.SqlServer","description":"[Type:Product] SQL Server Transport for NServiceBus","fork":false,"url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer","forks_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/forks","keys_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/teams","hooks_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/hooks","issue_events_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/issues/events{/number}","events_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/events","assignees_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/assignees{/user}","branches_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/branches{/branch}","tags_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/tags","blobs_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/git/refs{/sha}","trees_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/statuses/{sha}","languages_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/languages","stargazers_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/stargazers","contributors_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/contributors","subscribers_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/subscribers","subscription_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/subscription","commits_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/commits{/sha}","git_commits_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/git/commits{/sha}","comments_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/comments{/number}","issue_comment_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/issues/comments{/number}","contents_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/contents/{+path}","compare_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/merges","archive_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/downloads","issues_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/issues{/number}","pulls_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/pulls{/number}","milestones_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/milestones{/number}","notifications_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/labels{/name}","releases_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/releases{/id}","created_at":"2013-09-11T22:17:14Z","updated_at":"2015-08-25T02:17:02Z","pushed_at":"2015-09-25T16:29:09Z","git_url":"git://github.com/Particular/NServiceBus.SqlServer.git","ssh_url":"git@github.com:Particular/NServiceBus.SqlServer.git","clone_url":"https://github.com/Particular/NServiceBus.SqlServer.git","svn_url":"https://github.com/Particular/NServiceBus.SqlServer","homepage":"","size":8099,"stargazers_count":5,"watchers_count":5,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":14,"forks":11,"open_issues":14,"watchers":5,"default_branch":"develop"}},"base":{"label":"Particular:support-1.2","ref":"support-1.2","sha":"2e447452ff79fceefa00d7190b93bfd8fd92c471","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":12769207,"name":"NServiceBus.SqlServer","full_name":"Particular/NServiceBus.SqlServer","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.SqlServer","description":"[Type:Product] SQL Server Transport for NServiceBus","fork":false,"url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer","forks_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/forks","keys_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/teams","hooks_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/hooks","issue_events_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/issues/events{/number}","events_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/events","assignees_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/assignees{/user}","branches_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/branches{/branch}","tags_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/tags","blobs_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/git/refs{/sha}","trees_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/statuses/{sha}","languages_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/languages","stargazers_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/stargazers","contributors_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/contributors","subscribers_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/subscribers","subscription_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/subscription","commits_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/commits{/sha}","git_commits_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/git/commits{/sha}","comments_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/comments{/number}","issue_comment_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/issues/comments{/number}","contents_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/contents/{+path}","compare_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/merges","archive_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/downloads","issues_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/issues{/number}","pulls_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/pulls{/number}","milestones_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/milestones{/number}","notifications_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/labels{/name}","releases_url":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/releases{/id}","created_at":"2013-09-11T22:17:14Z","updated_at":"2015-08-25T02:17:02Z","pushed_at":"2015-09-25T16:29:09Z","git_url":"git://github.com/Particular/NServiceBus.SqlServer.git","ssh_url":"git@github.com:Particular/NServiceBus.SqlServer.git","clone_url":"https://github.com/Particular/NServiceBus.SqlServer.git","svn_url":"https://github.com/Particular/NServiceBus.SqlServer","homepage":"","size":8099,"stargazers_count":5,"watchers_count":5,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":14,"forks":11,"open_issues":14,"watchers":5,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/pulls/92"},"html":{"href":"https://github.com/Particular/NServiceBus.SqlServer/pull/92"},"issue":{"href":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/issues/92"},"comments":{"href":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/issues/92/comments"},"review_comments":{"href":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/pulls/92/comments"},"review_comment":{"href":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/pulls/92/commits"},"statuses":{"href":"https://api.github.com/repos/Particular/NServiceBus.SqlServer/statuses/9e640a78f13a5df282b2b4d96dd1fc212859fa40"}}}}