﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>Ayende @ Rahien</title><link>http://ayende.com</link><description>Ayende @ Rahien</description><copyright>Copyright (C) Ayende Rahien  2004 - 2021 (c) 2026</copyright><ttl>60</ttl><item><title>Ayende Rahien commented on Putting the container to work: Refactoring NServiceBus configuration</title><description>Eric,
  
Udi just posted about adding auto subscribe to NSB, check the mailing list
</description><link>http://ayende.com/3415/putting-the-container-to-work-refactoring-nservicebus-configuration#comment7</link><guid>http://ayende.com/3415/putting-the-container-to-work-refactoring-nservicebus-configuration#comment7</guid><pubDate>Wed, 16 Jul 2008 06:53:32 GMT</pubDate></item><item><title>Eric Hauser commented on Putting the container to work: Refactoring NServiceBus configuration</title><description>It applies if you are using publish/subscribe.  To subscribe to a message, you have to call:
  
  
bus.Subscribe(typeof(MessageType));
  
  
and unsubscribe to the same message when shutting down.  I prefer to have the facility handle the subscriptions.  Some components in our system need to listen to an entire group of messages, so they subscribe to an assembly (which just iterates over the exported types and subscribes if the message is assignable from IMessage). 
</description><link>http://ayende.com/3415/putting-the-container-to-work-refactoring-nservicebus-configuration#comment6</link><guid>http://ayende.com/3415/putting-the-container-to-work-refactoring-nservicebus-configuration#comment6</guid><pubDate>Tue, 15 Jul 2008 12:56:47 GMT</pubDate></item><item><title>Ayende Rahien commented on Putting the container to work: Refactoring NServiceBus configuration</title><description>Eric,
  
I am not following on the problem here, can you expand?
</description><link>http://ayende.com/3415/putting-the-container-to-work-refactoring-nservicebus-configuration#comment5</link><guid>http://ayende.com/3415/putting-the-container-to-work-refactoring-nservicebus-configuration#comment5</guid><pubDate>Tue, 15 Jul 2008 06:53:22 GMT</pubDate></item><item><title>Eric Hauser commented on Putting the container to work: Refactoring NServiceBus configuration</title><description>I also like to register my subscriptions in a faciliy configuration.  I have something similar where I do:
  
  
&lt;facility ...&gt;
  
  &lt;subscriptions&gt;
  
    &lt;type&gt;...&lt;/type&gt;
  
    &lt;assembly&gt;...&lt;/assembly&gt;
  
  &lt;/subscriptions&gt;
  
&lt;/facility&gt;
  
  
I don't think you want to go with reflection on this because there is some overhead to subscription messages.
</description><link>http://ayende.com/3415/putting-the-container-to-work-refactoring-nservicebus-configuration#comment4</link><guid>http://ayende.com/3415/putting-the-container-to-work-refactoring-nservicebus-configuration#comment4</guid><pubDate>Tue, 15 Jul 2008 00:18:31 GMT</pubDate></item><item><title>Ayende Rahien commented on Putting the container to work: Refactoring NServiceBus configuration</title><description>the trunk
</description><link>http://ayende.com/3415/putting-the-container-to-work-refactoring-nservicebus-configuration#comment3</link><guid>http://ayende.com/3415/putting-the-container-to-work-refactoring-nservicebus-configuration#comment3</guid><pubDate>Mon, 14 Jul 2008 22:20:44 GMT</pubDate></item><item><title>Claudio Maccari commented on Putting the container to work: Refactoring NServiceBus configuration</title><description>amazing !
  
You are using castle.*.dll version 1.0.3.5173 
  
Is this the trunk code ?
</description><link>http://ayende.com/3415/putting-the-container-to-work-refactoring-nservicebus-configuration#comment2</link><guid>http://ayende.com/3415/putting-the-container-to-work-refactoring-nservicebus-configuration#comment2</guid><pubDate>Mon, 14 Jul 2008 19:29:15 GMT</pubDate></item><item><title>Symon Rottem commented on Putting the container to work: Refactoring NServiceBus configuration</title><description>Damn.  And I just finished documenting the *last* configuration structure...*sigh*.  Just let me know when you're finished and I'll try to look like I haven't been crying. :)
</description><link>http://ayende.com/3415/putting-the-container-to-work-refactoring-nservicebus-configuration#comment1</link><guid>http://ayende.com/3415/putting-the-container-to-work-refactoring-nservicebus-configuration#comment1</guid><pubDate>Sun, 13 Jul 2008 17:11:03 GMT</pubDate></item></channel></rss>