Using Apache ActiveMQ with BEAM Languages
-
Upload
fernando-ribeiro -
Category
Software
-
view
231 -
download
2
description
Transcript of Using Apache ActiveMQ with BEAM Languages
![Page 1: Using Apache ActiveMQ with BEAM Languages](https://reader033.fdocuments.in/reader033/viewer/2022061220/54bc9b994a79598f528b4627/html5/thumbnails/1.jpg)
Using Apache ActiveMQ with BEAM Languages
Fernando RibeiroSolution Architect
![Page 2: Using Apache ActiveMQ with BEAM Languages](https://reader033.fdocuments.in/reader033/viewer/2022061220/54bc9b994a79598f528b4627/html5/thumbnails/2.jpg)
Summary
• Overview• Samples– Erlang, Elixir, Joxa, LFE
• References
![Page 3: Using Apache ActiveMQ with BEAM Languages](https://reader033.fdocuments.in/reader033/viewer/2022061220/54bc9b994a79598f528b4627/html5/thumbnails/3.jpg)
Overview
• Apache ActiveMQ provides protocol support that can be used in BEAM languages
• Messaging brokers should be preferred over bridges, for example, for application integration
![Page 4: Using Apache ActiveMQ with BEAM Languages](https://reader033.fdocuments.in/reader033/viewer/2022061220/54bc9b994a79598f528b4627/html5/thumbnails/4.jpg)
Erlang
• Send to a Queue – http://simplesassim.wordpress.com/2014/02/06/how-to-send-a-message-to-an-apache-activemq-queue-with-erlang/
• Send to a Topic – http://simplesassim.wordpress.com/2014/02/06/how-to-send-a-message-to-an-apache-activemq-topic-with-erlang/
![Page 5: Using Apache ActiveMQ with BEAM Languages](https://reader033.fdocuments.in/reader033/viewer/2022061220/54bc9b994a79598f528b4627/html5/thumbnails/5.jpg)
Erlang
• Receive from a Queue – http://simplesassim.wordpress.com/2014/02/07/how-to-receive-a-message-from-an-apache-activemq-queue-with-erlang/
• Receive from a Topic – http://simplesassim.wordpress.com/2014/02/07/how-to-receive-a-message-from-an-apache-activemq-topic-with-erlang/
![Page 6: Using Apache ActiveMQ with BEAM Languages](https://reader033.fdocuments.in/reader033/viewer/2022061220/54bc9b994a79598f528b4627/html5/thumbnails/6.jpg)
Elixir
• Send to a Queue – http://simplesassim.wordpress.com/2014/02/09/how-to-send-a-message-to-an-apache-activemq-queue-with-elixir/
• Send to a Topic – http://simplesassim.wordpress.com/2014/02/09/how-to-send-a-message-to-an-apache-activemq-topic-with-elixir/
![Page 7: Using Apache ActiveMQ with BEAM Languages](https://reader033.fdocuments.in/reader033/viewer/2022061220/54bc9b994a79598f528b4627/html5/thumbnails/7.jpg)
Elixir
• Receive from a Queue – http://simplesassim.wordpress.com/2014/02/09/how-to-receive-a-message-from-an-apache-activemq-queue-with-elixir/
• Receive from a Topic – http://simplesassim.wordpress.com/2014/02/09/how-to-receive-a-message-from-an-apache-activemq-topic-with-elixir/
![Page 8: Using Apache ActiveMQ with BEAM Languages](https://reader033.fdocuments.in/reader033/viewer/2022061220/54bc9b994a79598f528b4627/html5/thumbnails/8.jpg)
Joxa
• Send to Queue – http://simplesassim.wordpress.com/2014/02/11/how-to-send-a-message-to-an-apache-activemq-queue-with-joxa/
• Send to Topic – http://simplesassim.wordpress.com/2014/02/11/how-to-send-a-message-to-an-apache-activemq-topic-with-joxa/
![Page 9: Using Apache ActiveMQ with BEAM Languages](https://reader033.fdocuments.in/reader033/viewer/2022061220/54bc9b994a79598f528b4627/html5/thumbnails/9.jpg)
Joxa
• Receive from Queue – http://simplesassim.wordpress.com/2014/02/11/how-to-receive-a-message-from-an-apache-activemq-queue-with-joxa/
• Receive from Topic – http://simplesassim.wordpress.com/2014/02/11/how-to-receive-a-message-from-an-apache-activemq-topic-with-joxa/
![Page 10: Using Apache ActiveMQ with BEAM Languages](https://reader033.fdocuments.in/reader033/viewer/2022061220/54bc9b994a79598f528b4627/html5/thumbnails/10.jpg)
LFE
• Send to Queue – http://simplesassim.wordpress.com/2014/02/11/how-to-send-a-message-to-an-apache-activemq-queue-with-lfe/
• Send to Topic – http://simplesassim.wordpress.com/2014/02/11/how-to-send-a-message-to-an-apache-activemq-topic-with-lfe/
![Page 11: Using Apache ActiveMQ with BEAM Languages](https://reader033.fdocuments.in/reader033/viewer/2022061220/54bc9b994a79598f528b4627/html5/thumbnails/11.jpg)
LFE
• Receive from a Queue – http://simplesassim.wordpress.com/2014/02/11/how-to-receive-a-message-from-an-apache-activemq-queue-with-lfe/
• Receive from a Topic – http://simplesassim.wordpress.com/2014/02/11/how-to-receive-a-message-from-an-apache-activemq-topic-with-lfe/
![Page 12: Using Apache ActiveMQ with BEAM Languages](https://reader033.fdocuments.in/reader033/viewer/2022061220/54bc9b994a79598f528b4627/html5/thumbnails/12.jpg)
References
• Red Hat JBoss A-MQ – http://www.redhat.com/products/jbossenterprisemiddleware/amq/
• Apache ActiveMQ – http://activemq.apache.org/
• Erlang – http://www.erlang.org/• Elixir – http://www.elixir-lang.org/
![Page 13: Using Apache ActiveMQ with BEAM Languages](https://reader033.fdocuments.in/reader033/viewer/2022061220/54bc9b994a79598f528b4627/html5/thumbnails/13.jpg)
References
• Joxa – http://www.joxa.org/• LFE – http://lfe.github.io/
![Page 14: Using Apache ActiveMQ with BEAM Languages](https://reader033.fdocuments.in/reader033/viewer/2022061220/54bc9b994a79598f528b4627/html5/thumbnails/14.jpg)