a simple port of .net MassTransit ESB to ruby
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.bundle
lib
sample
specs
.gitignore
MASSTRANSIT_VERSION
README.md
gemfile
load_paths.rb
masstransit.gemspec
rakefile
release.rb

README.md

MassTransit.rb

Ruby port of MassTransit ESB.

Installation

On Mac OS X

  1. Install Homebrew ruby -e "$(curl -fsS http://gist.github.com/raw/323731/install_homebrew.rb)"
  2. Install needed libraries brew install git rabbitmq

RabbitMQ as a Service

  1. Create a launchd plist in /Library/LaunchDaemons/, i.e. /Library/LaunchDaemons/com.rabbitmq.plist
  2. Load the new configuration launchctl load /Library/LaunchDaemons/
  3. Start the service launchctl start com.rabbitmq

Example com.rabbitmq.plist

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
        "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
        <key>Label</key>
        <string>com.rabbitmq</string>
        <key>Program</key>
        <string>/usr/local/sbin/rabbitmq-server</string>
        <key>RunAtLoad</key>
        <true/>
        <key>UserName</key>
        <string>travis</string>
        <!-- need erl in the path -->
        <key>EnvironmentVariables</key>
        <dict>
          <key>PATH</key>
          <string>/usr/local/sbin:/usr/bin:/bin:/usr/local/bin</string>
        </dict>
</dict>
</plist>

Windows

  1. ... [install ruby]
  2. Install rabbitmq

Everyone

  1. Install bindings sudo gem sources -a http://gems.github.com && sudo gem install carrot