Ninject.Extensions.MessageBroker 2.0 Released!

by Ian Davis on March 19, 2010

in Announcement

I am happy again to announce the release of the next Ninject extension, Ninject.Extensions.MessageBroker 2.0! You can download the release from GitHub for all supported platforms (.NET 3.5, .NETCF 3.5, SL2, SL3, MONO). Also, you can review the demo post using the extension if you are wondering how to hook it together.

Share and Enjoy:
  • Print
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • DotNetKicks
  • DZone
  • email
  • LinkedIn
  • RSS
  • StumbleUpon
  • Technorati
  • Twitter

{ 5 comments }

1 jmorris March 23, 2010 at 9:19 pm

In what scenarios do you envision using a message broker like this as opposed to JMS/NMS or MSMQ? Besides lack of features, of course ;)

2 innovatian March 23, 2010 at 11:04 pm

I used it to implement a MVP pattern application to hook the view and presenter together and also to deliver messages to extensions.

3 jmorris March 30, 2010 at 5:19 pm

Funny, cuz that was that exact situation I may be able to use this. I currently use a an observer pattern to do this in an MVP app, where the main presenter notifies each sub presenter of a state change. Semantics aside, it is the pretty much the same thing. Had this been released a week or two earlier, I might have used it instead ;)

This is pretty much a light weight, non-distributed messaging API…cool!

4 innovatian March 30, 2010 at 5:34 pm

I actually prefer the WeakEventMessageBroker extension myself. I hated the WeakEvent pattern put into the presentation framework, so I built my own. It doesn't have the delivery options like thread and UI yet, but it using weak pointers for publishing and subscribing detaching the event handling from the object lifetime. The channels and objects clean themselves up nicely.

5 jmorris March 30, 2010 at 8:26 pm

Cool, i'll check that extension out.

blog comments powered by Disqus

Previous post:

Next post: