|
ActiveMessaging
Start Here! - Wiki home for ActiveMessaging
Featured ActiveMessagingActiveMessaging 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
endGetting StartedHere are the best beginner guides:
Then after you get through that, learn more wih these:
ActiveMessaging articles elsewhere
DevelopersSource code is available via subversion here on google code: svn checkout http://activemessaging.googlecode.com/svn/trunk/ activemessaging SupportBest bet is the google groups mailing list: |
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
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
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?
Local services will nearly always outperform hosted/remote services. ActiveMQ performs very well. Stomp's a connector rather than a broker.
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
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
seems to not found a object in mysql <strong><a href="http://www.uk-linksjewellery.com/">links of london sweetie charms</a></strong>
seems to not found a object in mysql [url=http://www.uk-linksjewellery.com/]links of london charms[/url]