NServiceBus icon indicating copy to clipboard operation
NServiceBus copied to clipboard

Component refactoring cleanup

Open timbussmann opened this issue 5 years ago • 0 comments
trafficstars

With the refactoring efforts around the hosting, receive and send components, a lot of workarounds had to be added for backwards compatibility. With the next major version, those workarounds can/should be removed in order to simplify the code quite a bit.

  • Remove the internal settings access by the component's Settings classes
  • Change transport initialization by removing the marked obsolete methods in the SendComponent to the component's regular Initialization process.
  • Consider removal of featureComponent.RegisterFeatureEnabledStatusInSettings(hostingConfiguration); functionality in EndpointCreator.Initialize that is needed to allow transports to know if the TimeoutManager is enabled or not (needed to for backwards compatibility around native timeouts)
    • Consider removing feature state completely from settings
  • Remove obsolete marked methods in HostComponent

timbussmann avatar Nov 25 '19 10:11 timbussmann