Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
ActiveMessaging moved from google code - this will be the latest and greatest
Ruby
Branch: master
Pull request Compare This branch is 2 commits ahead of gnufied:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
generators
lib
tasks
test
README.rdoc
Rakefile
VERSION
activemessaging.gemspec
init.rb
poller.rb

README.rdoc

ActiveMessaging is an attempt to bring the simplicity and elegance of rails development to the world of messaging. Messaging, (or event-driven architecture) is widely used for enterprise integration, with frameworks such as Java's JMS, and products such as ActiveMQ, Tibco, IBM MQSeries, etc.

ActiveMessaging is a generic framework to ease using messaging, but is not tied to any particular messaging system - in fact, it now has support for Stomp, Amazon Simple Queue Service (SQS), Beanstalk, JMS (using StompConnect or [JMSWithJRuby direct on JRuby]), WebSphere MQ, and the all-Ruby ReliableMessaging.

Here's a sample of a processor class that handles incoming messages:

class HelloWorldProcessor < ActiveMessaging::Processor

subscribes_to :hello_world

def on_message(message)
puts "received: " + message
end

end

Usage

$ gem 'activemessaging', '0.7.1',  :git => 'git@github.com:lcn-com/activemessaging.git', :require => false
$ # do not require in Gemfile because some of the environment variables are not available at that point

$ # Add to initializers
$ require 'activemessaging'

h1. Support

Best bet is the google groups mailing list:

groups.google.com/group/activemessaging-discuss

Something went wrong with that request. Please try again.