# Message Queue for Rails?

**URL:** <https://www.ruby-forum.com/t/message-queue-for-rails/164113>\
**Category:** Rails\
**Created:** [March 28, 2009, 2:29am UTC](https://www.ruby-forum.com/t/message-queue-for-rails/164113 "2009-03-28T02:29:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![S-gw](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ed655f/32.png) [@S-gw](https://www.ruby-forum.com/u/S-gw)\
**Post date:** [March 28, 2009, 2:29am UTC](https://www.ruby-forum.com/t/message-queue-for-rails/164113/1 "2009-03-28T02:29:16Z")

</div>

So, MQ was an active area for a while with several contenders like AP4R.

Many libs seemed focused on triggering long or scheduled processes, and  
not really for connecting many small apps together to build responses  
for a Rails front-end app.

After some googling, it seems like activity has dies off. AP4R seems to  
have stalled (I can’t find anything newer than a year old). None of the  
projects that surfaced from 05 through 08 seems to have become the de  
facto “winner” that I can see.

I’m looking for a MQ system that’s not about just offloading long or  
scheduled activities, but for real-time messaging to connect several  
small independent Rails/Ruby apps to build a Rails page.

I’m hoping to find something that can handle a number of different data  
formats for replies (XML, YAML, native AR objects or maybe even  
marshalled ruby objects).

Any suggestions on the best contenders?

– gw

---

<div class="post-metadata">

**Author:** ![S-gw](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ed655f/32.png) [@S-gw](https://www.ruby-forum.com/u/S-gw)\
**Post date:** [March 28, 2009, 2:52am UTC](https://www.ruby-forum.com/t/message-queue-for-rails/164113/2 "2009-03-28T02:52:26Z")

</div>

Jruby + JMS is your best bet. That is what I do and works great.

Adam

On Fri, Mar 27, 2009 at 9:29 PM, Greg W.

---

<div class="post-metadata">

**Author:** ![S-gw](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ed655f/32.png) [@S-gw](https://www.ruby-forum.com/u/S-gw)\
**Post date:** [March 28, 2009, 3:15am UTC](https://www.ruby-forum.com/t/message-queue-for-rails/164113/3 "2009-03-28T03:15:47Z")

</div>

After continuing to sift through older articles and following up, I’m  
finding som e stuff about Apache’s ActiveMQ / ActiveMessaging / STOMP.  
Still sorting through what it does and how it integrates. Most info is  
again from 2007. Anyone have any recent interaction with this setup?

– gw

---

<div class="post-metadata">

**Author:** ![S-gw](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ed655f/32.png) [@S-gw](https://www.ruby-forum.com/u/S-gw)\
**Post date:** [March 28, 2009, 10:01am UTC](https://www.ruby-forum.com/t/message-queue-for-rails/164113/4 "2009-03-28T10:01:03Z")

</div>

Maik Schmidt’s PragProg-book “Enterprise Recipes with Ruby and Rails”  
may help you out 😉 He’s using ActiveMQ and is integrating JMS with  
Ruby as well as Active Messaging.

my2cents,

Chris

On Mar 28, 3:15 am, Greg W. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![S-gw](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ed655f/32.png) [@S-gw](https://www.ruby-forum.com/u/S-gw)\
**Post date:** [March 28, 2009, 7:44pm UTC](https://www.ruby-forum.com/t/message-queue-for-rails/164113/5 "2009-03-28T19:44:11Z")

</div>

Christian Lupp wrote:

> Maik Schmidt’s PragProg-book “Enterprise Recipes with Ruby and Rails”  
> may help you out 😉 He’s using ActiveMQ and is integrating JMS with  
> Ruby as well as Active Messaging.

Ah, cool. Thx. Ordered.

– gw
