Particular/NServiceBus — pull request #1927 by indualagarsamy (2014-01-28 02:35:16+00:00)
Title: Relates to #1925

**This is not ready to be merged. -- work in progress!**
Problem in #1925 was that we refactored and removed the outgoing message mutators from being invoked. See here:
https://github.com/Particular/NServiceBus/commit/33c8b81737cf7a768766bc76f8dc924c1aed8077#diff-1df1836ac4e373d2c1200c94c56ce852R48

I did the following changes but I have questions and some changes feel incorrect.
- The `NServiceBus.Distributor.MSMQ.Config.WorkerInitialzier` registers the `ReturnAddressRewriter` type. This used to implement the mutator interface, but then there are two instances, in the namespace `NServiceBus.Distributor.ReadyMessages` and ` NServiceBus.Distributor.MSMQ.ReadyMessages`
Is this for keeping backwards compatibility? Which one do i change?

- I need the DistributorDataAddress in the `MessageDrivenSubscriptionManager` class. Any easy way, other than try and inject the `ReturnAddressRewriter`?

- The name `ReturnAddressRewriter` seems incorrect because all I am doing is just using it to store the DistributorAddress!! Is there anyway I can get rid of this type altogether?.

@johnsimons @SimonCropp @andreasohlund - can you please chime in?