mikehadlow/EasyNetQ — pull request #8 by ChrisEdwards (2011-11-28 18:27:13+00:00)
Title: Added ability to use custom conventions for naming exchanges and queues.

I committed this to master, then moved it to a branch for this pull request. Hopefully it works properly such that if I commit more to master, it doesn't show up in this pull request like last time...

I added comments in the commit so you can see why I made certain decisions. You can see these by looking at the diffs in github.

I didn't use Rhino Mocks as it would have resulted in a more complex test given the design of the interfaces. All the other mocks were there, so it was not difficult to add another.

There are places where the conventions are not used, such as in declaring some of the static queues used for request response, etc. Let me know if I missed a place where the naming conventions should have been applied.