|
Installation
How to install plugin and prerequisites
InstallationPrerequisitesTo develop applications using ActiveMessaging you need the following prerequisites:
InstallingBrokerActiveMessaging supports several different brokers now. StompSelect from the list of brokers that speak Stomp, the recommended choice is ActiveMQ configured with the Stomp listener. If you do use ActiveMQ, there is a page dedicated to its install and configuration. You'll need the stomp gem for this. JMSStompConnect exposes any JMS broker as a Stomp broker, so you can use this JMS broker adapter with ActiveMessaging Stomp support to connect to almost any JMS capable broker. You'll need the stomp gem for this. Amazon Simple Queue ServiceThis is a service provided by amazon, so you don't run the broker, but you do need to sign up for the service and get your own keys to access it.Amazon SQS. No addition gem required - the adapter for this included with ActiveMessaging is standalone. Websphere MQFormerly IBM MQ Series, Websphere MQ is a commercial messaging broker. Sylvain Perez has provided a free adapter for this service based on the wmq gem, but you still need to install Websphere MQ to use it. Websphere MQ. ReliableMessagingReliableMessaging is an all Ruby message broker providing a simple API, transactions, different delivery modes, selectors, and file or mysql based storage. Easy to install and use, it's an all Ruby broker option. GemsWith Ruby and gems installed, get rails and daemons. You will also need to get the stomp or wmq gems depending on which broker you are using. sudo gem install rails sudo gem install daemons #optional sudo gem install stomp sudo gem install wmq sudo gem install reliable-msg PluginTo install the plugin into a Rails app: script/plugin install http://activemessaging.googlecode.com/svn/trunk/plugins/activemessaging |
Sign in to add a comment
This looks good, I'm going to try it out! One comment though, it would be nice to have tagged releases rather than just installing the trunk version.
I am trying to install active messaging plugin but getting this error
script/plugin install http://activemessaging.googlecode.com/svn/trunk/plugins/activemessaging
Plugin not found: ["http://activemessaging.googlecode.com/svn/trunk/plugins/activemessaging"]
Please help!
shzadumar - I was having the same issue and I was certain I typed the address in correctly. Then I figured I'd try a copy+paste of "script/plugin install http://activemessaging.googlecode.com/svn/trunk/plugins/activemessaging" and somehow it worked. I guess I mistyped it somewhere along the line.
BTW, if you are on Windows make sure to install ActiveMQ to your c:\. Installing to c:\My Programs or c:\My Documents causes problems because of the SPACE in the directory structure. sigh