{"action":"created","issue":{"url":"https://api.github.com/repos/Particular/NServiceBus.AzureServiceBus/issues/249","repository_url":"https://api.github.com/repos/Particular/NServiceBus.AzureServiceBus","labels_url":"https://api.github.com/repos/Particular/NServiceBus.AzureServiceBus/issues/249/labels{/name}","comments_url":"https://api.github.com/repos/Particular/NServiceBus.AzureServiceBus/issues/249/comments","events_url":"https://api.github.com/repos/Particular/NServiceBus.AzureServiceBus/issues/249/events","html_url":"https://github.com/Particular/NServiceBus.AzureServiceBus/pull/249","id":158896848,"number":249,"title":"Issue 229 multinamespace naming","user":{"login":"yvesgoeleven","id":471354,"avatar_url":"https://avatars.githubusercontent.com/u/471354?v=3","gravatar_id":"","url":"https://api.github.com/users/yvesgoeleven","html_url":"https://github.com/yvesgoeleven","followers_url":"https://api.github.com/users/yvesgoeleven/followers","following_url":"https://api.github.com/users/yvesgoeleven/following{/other_user}","gists_url":"https://api.github.com/users/yvesgoeleven/gists{/gist_id}","starred_url":"https://api.github.com/users/yvesgoeleven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yvesgoeleven/subscriptions","organizations_url":"https://api.github.com/users/yvesgoeleven/orgs","repos_url":"https://api.github.com/users/yvesgoeleven/repos","events_url":"https://api.github.com/users/yvesgoeleven/events{/privacy}","received_events_url":"https://api.github.com/users/yvesgoeleven/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2016-06-07T11:09:45Z","updated_at":"2016-06-21T13:50:55Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Particular/NServiceBus.AzureServiceBus/pulls/249","html_url":"https://github.com/Particular/NServiceBus.AzureServiceBus/pull/249","diff_url":"https://github.com/Particular/NServiceBus.AzureServiceBus/pull/249.diff","patch_url":"https://github.com/Particular/NServiceBus.AzureServiceBus/pull/249.patch"},"body":"Connect to #229 \n\nConnect to #163"},"comment":{"url":"https://api.github.com/repos/Particular/NServiceBus.AzureServiceBus/issues/comments/227445740","html_url":"https://github.com/Particular/NServiceBus.AzureServiceBus/pull/249#issuecomment-227445740","issue_url":"https://api.github.com/repos/Particular/NServiceBus.AzureServiceBus/issues/249","id":227445740,"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},"created_at":"2016-06-21T13:50:55Z","updated_at":"2016-06-21T13:50:55Z","body":"This is how I see it: destination namespaces served a purpose of overcoming limitations of a single namespace (throughput). With partitioning, we have both, HA and ability to overcome limitation of a single namespace (with RoundRobin, FailOver, etc). Therefore it feels that we should _not_ encourage usage of the destination namespaces, unless it's needed. Perhaps a solution would be to move `.AddDestinationNamespace()` into a \"routeing category\", which it is. Here are two options for example. What do you think?\r\n\r\n### Option 1\r\n```c#\r\nvar extensions = new TransportExtensions<AzureServiceBusTransport>(...);\r\nextensions.Routing()\r\n    .AddDestinationNamespace(\"directNamespaceName\", \"directConnectionString\");\r\n\r\nextensions.AddNamespace(\"namespace1name\", \"connectionString1\");\r\nextensions.AddNamespace(\"namespace2name\", \"connectionString2\");\r\nextensions.ConnectionString(\"connString\"); //`default` as the name \r\n```\r\n\r\n### Option 2\r\n```c#\r\nvar extensions = new TransportExtensions<AzureServiceBusTransport>(...);\r\n\r\nextensions.NamespacePartitioning()\r\n    .UseStrategy<AnyStrategy>()\r\n   .AddNamespace(\"namespace1name\", \"connectionString1\");\r\n   .AddNamespace(\"namespace2name\", \"connectionString2\");\r\n\r\nextensions.Routing()\r\n    .AddDestinationNamespace(\"directNamespaceName\", \"directConnectionString\");\r\n\r\nextensions.ConnectionString(\"connString\"); //`default` as the name \r\n```"}}
{"actor":{"display_login":"SeanFeldman"}}