Message/Service Bus – Mass Transit
I’ve been reading several blogs about event-driven/event broker/message bus. I have used the Castle Windsor EventWiringFacility which allows you to setup a component to publisher with subscribers defined either in the xml or through the windsor fluent interface. I have blogged about that here.
Taking this a step further is the concept of an event ‘broker’ or ‘message bus’ – where messages are published to the broker that then can send these to subscribers (in a publish-subscriber setup) without setting up delegates/events for the publisher. One such message bus available in .net is ‘Mass Transit’.
MassTransit is lean service bus implementation for building loosely coupled applications using the .NET framework.
The lean implementation is supported by the YAGNI principle. By focusing on a tight set of specific concerns, the touch points between Mass Transit and the application are minimized resulting in a clear and concise set of interfaces.
Mass Transit offers a ‘how to get started’ example that shows how rather easy it is to get this setup. In this example it uses Castle Windsor.
I’m a tad bias (lol) toward Castle Windsor, as I find it easy to setup and use, and quite powerful. The community offers several options, in this case, Mass Transit has started with Castle Windsor and provides a good set of examples to get started. Using an IoC container makes it very easy to register components to be used by the message bus.
The next step will be create a sample with a test to get this rolling… off I go, to the Mass Transit wiki to get it all set up…
Edit: a good ‘how to get msmq installed’:
http://msdn.microsoft.com/en-us/library/aa967729.aspx
Then, 'setting up the ‘standard-services’ for Mass Transit’:
http://masstransit.pbwiki.com/Standard-Services
Also, a ‘Using the host service’ -
The Host service allows the easy configuration of a Windows service for handling messages on the service bus
http://code.google.com/p/masstransit/wiki/UsingTheHostService
| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| « Jan | ||||||
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
| 8 | 9 | 10 | 11 | 12 | 13 | 14 |
| 15 | 16 | 17 | 18 | 19 | 20 | 21 |
| 22 | 23 | 24 | 25 | 26 | 27 | 28 |
Tags
Pages
Archives
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
Blogroll
- altinoren (ActiveWriter)
- Arduino Fun
- Ayende @ Rahien
- Billy McCafferty
- BitBasher
- David Hayden
- Fred George
- Jeremy D. Miller
- Justin Kohnen
- Pomiet
- Ryan Cromwell
- ScottGu
Meta
Recent Posts
- Blogging Break
- Fantastic Friday – Links, thoughts and more…!
- Wonderful Wednesday
- Saturday Splash
- CodePlex Foundation : Ajax Library Project
Categories
- .NET RIA Services
- ADO.NET Data Services
- Agile
- Ajax
- Architecture
- ASP.NET
- ASP.NET MVC
- Azure
- Books
- C#
- Caliburn
- Castle
- Chrome
- CI
- Data Services
- DataAnnotations
- DDD
- Design
- Domain Model
- Elmah
- Entity Framework
- Event Driven
- General
- Grails
- Groovy
- Handlers and Modules
- IOC/DI
- IronPython
- Javascript
- jqModal
- jQuery
- Json
- LINQ
- Mass Transit
- Message Bus
- Monorail
- Mozilla Prism
- MVC
- NCommon
- NHibernate
- NHibernate Linq
- OpenSource
- Patterns
- PLinq
- Politics
- Pragmatic
- Programming
- re-linq
- Reporting Services
- RIA.NET
- Ruby
- Ruby on Rails
- Silverlight
- Spring
- SubSonic
- Testing
- Uncategorized
- Unit Testing
- Unity
- UX
- WCF
- Windsor
- WPF
- XAML
- XForms
- xVal