Using Apache ActiveMQ with
Ruby
Fernando Ribeiro
Senior Solution Architect
Summary
• Overview
• Samples
– Ruby, Ruby on Rails, JRuby
• References
Overview
• Apache ActiveMQ provides protocol support
that can be used in Ruby
• Message brokers should be preferred over
b...
Ruby
• Send to Queue –
https://simplesassim.wordpress.com/2014/02
/02/how-to-send-a-message-to-an-apache-
activemq-queue-w...
Ruby
• Receive from Queue –
https://simplesassim.wordpress.com/2014/02
/03/how-to-receive-a-message-from-an-
apache-active...
Ruby on Rails
• Send to Queue –
https://simplesassim.wordpress.com/2014/01
/27/how-to-send-a-message-to-an-apache-
activem...
Ruby on Rails
• Receive from Queue –
https://simplesassim.wordpress.com/2014/01
/27/how-to-receive-a-message-from-an-
apac...
JRuby
• Send to Queue –
https://simplesassim.wordpress.com/2013/12
/30/how-to-send-a-message-to-an-apache-
activemq-queue-...
JRuby
• Receive from Queue –
https://simplesassim.wordpress.com/2013/12
/30/how-to-receive-a-message-from-an-
apache-activ...
References
• JBoss A-MQ –
http://www.redhat.com/en/technologies/jbos
s-middleware/amq
• Apache ActiveMQ –
http://activemq....
References
• Ruby on Rails – http://www.rubyonrails.org/
• ActiveMessaging –
https://github.com/kookster/activemessaging
•...
Using Apache ActiveMQ with Ruby
Upcoming SlideShare
Loading in …5
×

Using Apache ActiveMQ with Ruby

2,154 views

Published on

Published in: Software
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,154
On SlideShare
0
From Embeds
0
Number of Embeds
9
Actions
Shares
0
Downloads
5
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Using Apache ActiveMQ with Ruby

  1. 1. Using Apache ActiveMQ with Ruby Fernando Ribeiro Senior Solution Architect
  2. 2. Summary • Overview • Samples – Ruby, Ruby on Rails, JRuby • References
  3. 3. Overview • Apache ActiveMQ provides protocol support that can be used in Ruby • Message brokers should be preferred over bridges, for example, for application integration
  4. 4. Ruby • Send to Queue – https://simplesassim.wordpress.com/2014/02 /02/how-to-send-a-message-to-an-apache- activemq-queue-with-ruby/ • Send to Topic – https://simplesassim.wordpress.com/2014/02 /03/how-to-send-a-message-to-an-apache- activemq-topic-with-ruby/
  5. 5. Ruby • Receive from Queue – https://simplesassim.wordpress.com/2014/02 /03/how-to-receive-a-message-from-an- apache-activemq-queue-with-ruby/ • Receive from Topic – https://simplesassim.wordpress.com/2014/02 /03/how-to-receive-a-message-from-an- apache-activemq-topic-with-ruby/
  6. 6. Ruby on Rails • Send to Queue – https://simplesassim.wordpress.com/2014/01 /27/how-to-send-a-message-to-an-apache- activemq-queue-with-ruby-on-rails/ • Send to Topic – https://simplesassim.wordpress.com/2014/01 /27/how-to-send-a-message-to-an-apache- activemq-topic-with-ruby-on-rails/
  7. 7. Ruby on Rails • Receive from Queue – https://simplesassim.wordpress.com/2014/01 /27/how-to-receive-a-message-from-an- apache-activemq-queue-with-ruby-on-rails/ • Receive from Topic – https://simplesassim.wordpress.com/2014/01 /27/how-to-receive-a-message-from-an- apache-activemq-topic-with-ruby-on-rails/
  8. 8. JRuby • Send to Queue – https://simplesassim.wordpress.com/2013/12 /30/how-to-send-a-message-to-an-apache- activemq-queue-with-jruby/ • Send to Topic – https://simplesassim.wordpress.com/2013/12 /30/how-to-send-a-message-to-an-apache- activemq-topic-with-jruby/
  9. 9. JRuby • Receive from Queue – https://simplesassim.wordpress.com/2013/12 /30/how-to-receive-a-message-from-an- apache-activemq-queue-with-jruby/ • Receive from Topic – https://simplesassim.wordpress.com/2013/12 /30/how-to-receive-a-message-from-an- apache-activemq-topic-with-jruby/
  10. 10. References • JBoss A-MQ – http://www.redhat.com/en/technologies/jbos s-middleware/amq • Apache ActiveMQ – http://activemq.apache.org/ • Ruby – http://www.ruby-lang.org/ • stompgem – https://github.com/stompgem/stomp
  11. 11. References • Ruby on Rails – http://www.rubyonrails.org/ • ActiveMessaging – https://github.com/kookster/activemessaging • JRuby – http://www.jruby.org/

×