<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>{Steve!=null} &#187; Mass Transit</title>
	<atom:link href="http://blogger.forgottenskies.com/?feed=rss2&#038;cat=34" rel="self" type="application/rss+xml" />
	<link>http://blogger.forgottenskies.com</link>
	<description>Developer thoughts and musings</description>
	<lastBuildDate>Mon, 06 Sep 2010 22:56:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Message/Service Bus &#8211; Mass Transit</title>
		<link>http://blogger.forgottenskies.com/?p=275</link>
		<comments>http://blogger.forgottenskies.com/?p=275#comments</comments>
		<pubDate>Mon, 22 Dec 2008 14:21:03 +0000</pubDate>
		<dc:creator>Steve Gentile</dc:creator>
				<category><![CDATA[Event Driven]]></category>
		<category><![CDATA[IOC/DI]]></category>
		<category><![CDATA[Mass Transit]]></category>
		<category><![CDATA[Message Bus]]></category>

		<guid isPermaLink="false">http://blogger.forgottenskies.com/?p=275</guid>
		<description><![CDATA[&#160; Iâ€™ve been reading several blogs about event-driven/event broker/message bus.&#160; 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.&#160; I have blogged about that here. Taking this a step further is the concept of an [...]]]></description>
			<content:encoded><![CDATA[<p>&#160;</p>
<p>Iâ€™ve been reading several blogs about <a href="http://en.wikipedia.org/wiki/Event-driven_programming">event-driven</a>/event broker/message bus.&#160; 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.&#160; I have blogged about that <a href="http://blogger.forgottenskies.com/?s=Windsor">here</a>.</p>
<p>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.&#160; One such message bus available in .net is â€˜Mass Transitâ€™.</p>
<blockquote><p><a href="http://code.google.com/p/masstransit/wiki/MassTransit"><img src="http://www.phatboyg.com/mt-logo.png" />         </p>
<p>MassTransit</a> is lean service bus implementation for building loosely coupled applications using the .NET framework. </p>
<p>The lean implementation is supported by the <a href="http://en.wikipedia.org/wiki/You_Ain%27t_Gonna_Need_It">YAGNI</a> 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. </p>
</blockquote>
<p>Mass Transit offers a <a href="http://code.google.com/p/masstransit/wiki/SampleCode">â€˜how to get startedâ€™ example</a> that shows how rather easy it is to get this setup.&#160; In this example it uses Castle Windsor.</p>
<p>Iâ€™m a tad bias (lol) toward Castle Windsor, as I find it easy to setup and use, and quite powerful.&#160; The community offers several options, in this case, Mass Transit has started with Castle Windsor and <a href="http://code.google.com/p/masstransit/wiki/Castle">provides a good set of examples to get started.</a>&#160; Using an IoC container makes it very easy to register components to be used by the message bus.</p>
<p>The next step will be create a sample with a test to get this rollingâ€¦&#160; off I go, to the <a href="http://masstransit.pbwiki.com/">Mass Transit wiki to get it all set up</a>â€¦</p>
<p>Edit:&#160; a good â€˜how to get msmq installedâ€™:</p>
<p><a title="http://msdn.microsoft.com/en-us/library/aa967729.aspx" href="http://msdn.microsoft.com/en-us/library/aa967729.aspx">http://msdn.microsoft.com/en-us/library/aa967729.aspx</a></p>
<p>Then, &#8216;setting up the â€˜standard-servicesâ€™ for Mass Transitâ€™:</p>
<p><a title="http://masstransit.pbwiki.com/Standard-Services" href="http://masstransit.pbwiki.com/Standard-Services">http://masstransit.pbwiki.com/Standard-Services</a></p>
<p>Also, a â€˜Using the host serviceâ€™&#160; &#8211; </p>
<blockquote><p>The Host service allows the easy configuration of a Windows service for handling messages on the service bus</p>
</blockquote>
<p><a title="http://code.google.com/p/masstransit/wiki/UsingTheHostService" href="http://code.google.com/p/masstransit/wiki/UsingTheHostService">http://code.google.com/p/masstransit/wiki/UsingTheHostService</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blogger.forgottenskies.com/?feed=rss2&amp;p=275</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
