Moved the TokenProvider to a factory so that it is abstracted from the creation of a MessageFactory or a NamespaceManager. We can now write code that does not require AppFabric Authentication.
Fixed property resolving on the ServiceBusConfigurationFactory
Fixed resolve issues in AzureBus
Removed more Resolve<> calls from the Receiver and Helper.
Removed remaining Resolve<> methods from the code and implemented a base class for all of the Containers. We now expose the IBus and the Serializer on the container so they can be mocked if needed.
Huge performance increase for creating the ReceivedMessageClass. 6 seconds down to 150ms for 1mm messages.
Removed comments that are no longer needed.
Removed BrokeredMessage from Receiver.
BrokeredMessage is totally abstracted from the code so that it can be mocked and tested.
ReceivedMessage is now internal
Removed all warnings.
Moved a few interfaces and noted that we should not change a few of the interfaces since they are public and have been published to end users.
ServiceBusConfigurationFactory is not Azure specific so it was moved to the Generic Factories Implementation
We can now send a message on the mock service bus but there is no receiver support yet.
Message is passed to the mock service bus so that we can resolve the items that need to be registered.
All calls to data in the helper now call the private variable.
Tracked down crazy bug that happens when the thread aborts. The code gets caught up on a loop eventually throwing a stack overflow exception. We needed to stop this since it may cause items to not clean up correctly.
Each receiver are now on a different thread. We may want to only use this for testing but for now we are going to do some testing with it this way to see if it performs better.
Fixed bug where Abandon was being called even after a complete. Azure was dealing with this but it is causing an extra call which may be a problem when it comes to the Transaction count that is reported in the portal.
Built a sample mock service bus to use for testing. Still needs to be reviewed.