/MassTransit

Distributed Application Framework for .NET

Primary LanguageC#Apache License 2.0Apache-2.0

Mass Transit - A Service Bus Implementation for .NET

Mass Transit

MassTransit is lean service bus implementation for building loosely coupled applications using the .NET Framework.

MassTransit is Apache 2.0 licensed.

Getting started with Mass Transit

In order to get started with MassTransit, you can have a look at the documentation, which is located at http://docs.masstransit-project.com/.

Simplest possible thing:

install-package MassTransit.RabbitMq then;

ServiceBusFactory.New(sbc =>
{
	sbc.UseRabbitMq();
	sbc.ReceiveFrom("rabbitmq://localhost/mybus");
});

You will also need to set up RabbitMQ;

  1. Install Erlang using the installer. (Next -> Next ...)
  2. Install RabbitMQ using the installer. (Next -> Next ...) You now have a RabbitMQ broker (look in services.msc for it) that you can log into using guest, guest. You can see message rates, routings and active consumers using this interface.

Please note

You need to add the management interface before you can login. First, from an elevated command prompt, change directory to the sbin folder within the RabbitMQ Server installation directory e.g. %PROGRAMFILES%\RabbitMQ Server\rabbitmq_server_2.7.1\sbin\

Next, run the following command to enable the rabbitmq management plugin:

rabbitmq-plugins.bat enable rabbitmq_management 

Downloads

Download from NuGet 'MassTransit' Search NuGet for MassTransit

Download the continuously integrated Binaries from TeamCity.

Supported Transports

We support MSMQ if you already have that installed, Azure Service Bus and Stomp transports.

If you want to use ZeroMQ, have a look at that branch and consider adding to it. It may make an appearance in v 3.0.

Mailing List

MassTransit Discuss

Building from Source

  1. Clone the source down to your machine. git clone git://github.com/MassTransit/MassTransit.git
  2. Ensure Ruby is installed. RubyInstaller for Windows
  3. Ensure git is on your path. git.exe and git.cmd work equally well.
  4. Ensure gems are installed, run:
gem install zip-zip 
gem install albacore
gem install semver2
  1. Run build.bat

Contributing

  1. git config --global core.autocrlf false
  2. Hack!
  3. Make a pull request.

REQUIREMENTS

  • .Net 3.5
  • .Net 4.0

CREDITS

Logo Design by The Agile Badger