Skip to content

lcn-com/activemessaging

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

ActiveMessaging moved from google code - this will be the latest and greatest

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%