Using Apache ActiveMQ with Ruby

  • 678 views
Uploaded on

 

More in: Software
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
678
On Slideshare
0
From Embeds
0
Number of Embeds
3

Actions

Shares
Downloads
2
Comments
0
Likes
1

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

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