MassTransit is lean service bus implementation for building loosely coupled applications using the .NET Framework.
MassTransit is Apache 2.0 licensed.
In order to get started with MassTransit, you can have a look at the documentation, which is located at http://docs.masstransit-project.com/.
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
Download from NuGet 'MassTransit' Search NuGet for MassTransit
Download the officially released builds from Github.
Download the continuously integrated Binaries from TeamCity.
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.
- 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 albacore
gem install semver2
- Run
build.bat
git config --global core.autocrlf false
- Hack!
- Make a pull request.
- .Net 3.5
- .Net 4.0
Logo Design by The Agile Badger