What's new? | Help | Directory | Sign in
Google
activemessaging
ActiveMessaging is a messaging framework for Ruby and Ruby on Rails
  
  
  
  
    
Search
for
Updated Jan 23, 2008 by kookster
Labels: Featured
ActiveMessaging  
Start Here! - Wiki home for ActiveMessaging

ActiveMessaging

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, JMS (using StompConnect or direct on JRuby), WebSphere MQ, Amazon Simple Queue Service (SQS), 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

Getting Started

Here are the best beginner guides:

Then after you get through that, learn more wih these:

ActiveMessaging articles elsewhere

Developers

Source code is available via subversion here on google code:

svn checkout http://activemessaging.googlecode.com/svn/trunk/ activemessaging

Support

Best bet is the google groups mailing list:

http://groups.google.com/group/activemessaging-discuss


Comment by dinesh.vasudevan, Feb 28, 2008

Hi, Great plugin this one .. I just had a quick question. I am trying to have durable subscribers set up. I have a flex client which is supposed have an active connection with the STOMP server (ActiveMQ). I followed the tutorial and set up a subscriber in rails. I did not setup the options like clientId and subscriptionName as I did for the ActionScript?. How could I do this using the subscribe_to method available ?

I would be great I you could help me with this as soon as possible. Thanks and Regards, Dinesh

Comment by kookster, Apr 22, 2008

Hi dinesh - I tend to answer comments more on our google group list. You'll need the head version of the stomp gem to send clientid, you set that in the connection in broker.yml, and the subscription name in the headers for the subscribes to command.

-Andrew


Sign in to add a comment