{"action":"created","issue":{"url":"https://api.github.com/repos/Particular/NServiceBus/issues/3049","labels_url":"https://api.github.com/repos/Particular/NServiceBus/issues/3049/labels{/name}","comments_url":"https://api.github.com/repos/Particular/NServiceBus/issues/3049/comments","events_url":"https://api.github.com/repos/Particular/NServiceBus/issues/3049/events","html_url":"https://github.com/Particular/NServiceBus/pull/3049","id":114258793,"number":3049,"title":"Make context explicit v2","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},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-30T12:17:07Z","updated_at":"2015-10-30T12:17:46Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Particular/NServiceBus/pulls/3049","html_url":"https://github.com/Particular/NServiceBus/pull/3049","diff_url":"https://github.com/Particular/NServiceBus/pull/3049.diff","patch_url":"https://github.com/Particular/NServiceBus/pull/3049.patch"},"body":"Related to: https://github.com/Particular/PlatformDevelopment/issues/246\r\n\r\nThis pull merges @timbussmann 's https://github.com/Particular/NServiceBus/pull/3036 and my https://github.com/Particular/NServiceBus/pull/2979 together in a single cohesive package. \r\n\r\nMain changes:\r\n * Deprecated `Configure`\r\n * Deprecated `IWantToRunBeforeConfigurationIsFinalized` and replaced with `IFinalizeConfiguration` that only gets access to `SettingsHolder`\r\n * Deprecated `INeedToInstallSomething` and replaced with `IInstall` that only gets access to the identity (and has to inject everything else)\r\n * Deprecated `Bus` and replaced with `Endpoint`\r\n * Deprecated direct creation of a send-only endpoint (`Bus.CreateSendOnly`) and replaced with `BusConfiguration.SendOnly()` during config time\r\n * Separated initialization phase (`IInitializableEndpoint`) from start-up phase (`IStartableEndpoint`)\r\n * Deprecated `IStartableBus` and replaced with `IStartableEndpoint`. The latter no longer extends `IBus` so there is no way to directly send messages using this abstraction. One has to explicitly create a send context (`IBusContext`)\r\n * Added `IBusInterface` parameter to `FeatureStartupTask.Start` and `IWantToRunWhenBusStartsAndStops.Start`\r\n * Added possibility to register instances of `IWantToRunWhenBusStartsAndStops` in the bus configuration.\r\n\r\nTODO:\r\n - [ ] Rename `BusConfiguration` to `EndpointConfiguration`\r\n - [ ] Add extension point to be able to run code during init phase (e.g. start-up checks)\r\n - [ ] Deprecate `IWantToRunWhenBusStartsAndStops` and replace with `IWantToRunWhenEndpointStartsAndStops`"},"comment":{"url":"https://api.github.com/repos/Particular/NServiceBus/issues/comments/152508699","html_url":"https://github.com/Particular/NServiceBus/pull/3049#issuecomment-152508699","issue_url":"https://api.github.com/repos/Particular/NServiceBus/issues/3049","id":152508699,"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},"created_at":"2015-10-30T12:17:46Z","updated_at":"2015-10-30T12:17:46Z","body":"@timbussmann can you add the outline of your changes here and close the original pull?"}}