My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
ActiveMessaging  
Start Here! - Wiki home for ActiveMessaging
Featured
Updated Nov 6, 2009 by kooks...@gmail.com

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, Amazon Simple Queue Service (SQS), Beanstalk, JMS (using StompConnect or 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

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.v...@gmail.com, 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 project member kooks...@gmail.com, 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

Comment by danma...@gmail.com, Jun 16, 2008

Is there any information about the speed of any of the queueing servers in comparison to each other. I was using amazon SQS, but it is to slow for my needs. Does using active messaging withing like active MQ or stomp go a lot faster?

Comment by james.wintermute@gmail.com, Aug 12, 2008

Local services will nearly always outperform hosted/remote services. ActiveMQ performs very well. Stomp's a connector rather than a broker.

Comment by constant...@gmail.com, Sep 7, 2009

Is anyone facing a problem with the poller script timing out and needing restart every now and then? If so, how did you solve it? Alternatives?

Thanks

Comment by jerome.l...@gmail.com, Nov 20, 2009

I have the same proble as Constantin.

After 3 or 4 process, ActiveMessaging seems to not found a object in mysql (ActiveRecord?::RecordNotFound?: Couldn't find BatchEligibility? with ID=75). Need to restart the poller ;[[

any help ?

Thanks

Comment by wang.hua...@yahoo.com, Dec 28, 2010

seems to not found a object in mysql <strong><a href="http://www.uk-linksjewellery.com/">links of london sweetie charms</a></strong>

Comment by wang.hua...@yahoo.com, Dec 28, 2010

seems to not found a object in mysql [url=http://www.uk-linksjewellery.com/]links of london charms[/url]


Sign in to add a comment
Powered by Google Project Hosting