First attempt to separate the infrastructure logic from the transport.
Would've been nice when ITransport itself was segregated into at least 2 interfaces. Also, the IInitialize doesn't seem to be invoked automatically for anything other than the transport.
Maybe you can validate if this split makes sense. There's still the GetActualAddress where I didn't really have a good idea where it belongs. It would remove the NameFormatter dependency from the Transport but not sure that it's better and have an additional dependency on the infra/management.
Rebus is MIT-licensed. The code submitted in this pull request needs to carry the MIT license too. By leaving this text in, I hereby acknowledge that the code submitted in the pull request has the MIT license and can be merged with the Rebus codebase.
First attempt to separate the infrastructure logic from the transport.
Would've been nice when
ITransport
itself was segregated into at least 2 interfaces. Also, theIInitialize
doesn't seem to be invoked automatically for anything other than the transport.Maybe you can validate if this split makes sense. There's still the
GetActualAddress
where I didn't really have a good idea where it belongs. It would remove theNameFormatter
dependency from theTransport
but not sure that it's better and have an additional dependency on the infra/management.Rebus is MIT-licensed. The code submitted in this pull request needs to carry the MIT license too. By leaving this text in, I hereby acknowledge that the code submitted in the pull request has the MIT license and can be merged with the Rebus codebase.