Using Apache ActiveMQ with BEAM Languages
-
Upload
fernando-ribeiro -
Category
Software
-
view
233 -
download
2
description
Transcript of Using Apache ActiveMQ with BEAM Languages
Using Apache ActiveMQ with BEAM Languages
Fernando RibeiroSolution Architect
Summary
• Overview• Samples– Erlang, Elixir, Joxa, LFE
• References
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
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/
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/
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/
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/
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/
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/
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/
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/
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/
References
• Joxa – http://www.joxa.org/• LFE – http://lfe.github.io/