Mass Transit - A Service Bus Implementation for .NET
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;
- Install Erlang using the installer. (Next -> Next ...)
- Install RabbitMQ using the installer. (Next -> Next ...) You now have a RabbitMQ broker (look in
services.msc
for it) that you can log into usingguest
,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
Building from Source
- Clone the source down to your machine.
git clone git://github.com/MassTransit/MassTransit.git
- Ensure Ruby is installed. RubyInstaller for Windows
- Ensure
git
is on your path.git.exe
andgit.cmd
work equally well. - Ensure gems are installed, run:
gem install zip-zip
gem install albacore
gem install semver2
- Run
build.bat
Contributing
git config --global core.autocrlf false
- Hack!
- Make a pull request.
REQUIREMENTS
- .Net 3.5
- .Net 4.0
CREDITS
Logo Design by The Agile Badger