Simple example of Masstransit with RabbitMQ

I want to use MassTransit bus with RabbitMQ. But I am not able to find a simple example. I am looking for example which will get me started.

What I have tried.

  • googled: But most the examples are using MSMQ or they using too many configuration options.
  • GitHub: I looked a the GitHub for MassTransit (https://github.com/MassTransit/MassTransit/tree/master/src/Samples) But the example here is heavily loaded. It's very hard to understand for beginners.
  • Reading docs: I have started reading docs but it will take some time before I finish it. I am hoping if someone shares a link to simple example which will get me started.
  • Please provide your suggestion.


    Here's a simple, good pub-sub example using MassTransit and RabbitMQ both. http://looselycoupledlabs.com/2014/06/masstransit-publish-subscribe-example/

    In case the article link does not work, here's the link to the source code: https://github.com/dprothero/MtPubSubExample

    Thanks to the author of course!


    MassTransit implements a lot of concepts and provides great many features with a very small surface API. There's no simple way to describe everything it does, because the problems it helps to solve are not simple, but an example can be made small.

    Have a look at this sample I have for testing throughput: https://github.com/et1975/Throughput-Test

    The only "extra" that one might find unnecessary is Dependency Injection integration. You'd want one in most cases, but it does hide how certain bits interact.

    Look at https://groups.google.com/forum/?fromgroups#!forum/masstransit-discuss for more help.

    Cheers, ET.


    This link is helpful & it contains getting started topics and sample application. I hope this will help other users. http://lostechies.com/derekgreer/tag/rabbitmq/

  • Start with this link http://lostechies.com/derekgreer/2012/03/05/rabbitmq-for-windows-introduction/
  • 链接地址: http://www.djcxy.com/p/69780.html

    上一篇: Request.ServerVariables抛出NullReferenceException

    下一篇: Masstransit与RabbitMQ的简单例子