Post on 19-Jan-2015
description
transcript
Using Apache ActiveMQ with Lisp
Fernando RibeiroSolution Architect
Summary
• Overview• Samples– ABCL, Allegro CL, Bigloo, Clojure, GNU CLISP,
JScheme, Kawa, LFE, MIT/GNU Scheme, Racket, SISC
• References
Overview
• Apache ActiveMQ provides protocol support that can be used in Lisp
• Messaging brokers should be preferred over bridges, for example, for application integration
ABCL
• Send to Queue – http://simplesassim.wordpress.com/2014/04/02/how-to-send-a-message-to-an-apache-activemq-queue-with-abcl/
• Send to Topic – http://simplesassim.wordpress.com/2014/04/02/how-to-send-a-message-to-an-apache-activemq-topic-with-abcl/
ABCL
• Receive from Queue – http://simplesassim.wordpress.com/2014/04/02/how-to-receive-a-message-from-an-apache-activemq-queue-with-abcl/
• Receive from Topic – http://simplesassim.wordpress.com/2014/04/02/how-to-receive-a-message-from-an-apache-activemq-topic-with-abcl/
Allegro CL
• Send to Queue – http://simplesassim.wordpress.com/2014/04/05/how-to-send-a-message-to-an-apache-activemq-queue-with-allegro-cl/
• Send to Topic – http://simplesassim.wordpress.com/2014/04/05/how-to-send-a-message-to-an-apache-activemq-topic-with-allegro-cl/
Allegro CL
• Receive from Queue – http://simplesassim.wordpress.com/2014/04/05/how-to-receive-a-message-from-an-apache-activemq-queue-with-allegro-cl/
• Receive from Topic – http://simplesassim.wordpress.com/2014/04/05/how-to-receive-a-message-from-an-apache-activemq-topic-with-allegro-cl/
Bigloo
• Send to Queue – http://simplesassim.wordpress.com/2014/04/02/how-to-send-a-message-to-an-apache-activemq-queue-with-bigloo/
• Send to Topic – http://simplesassim.wordpress.com/2014/04/02/how-to-send-a-message-to-an-apache-activemq-topic-with-bigloo/
Bigloo
• Receive from Queue – http://simplesassim.wordpress.com/2014/04/02/how-to-receive-a-message-from-an-apache-activemq-queue-with-bigloo/
• Receive from Topic – http://simplesassim.wordpress.com/2014/04/02/how-to-receive-a-message-from-an-apache-activemq-topic-with-bigloo/
Clojure
• Send to a Queue – http://simplesassim.wordpress.com/2013/12/31/how-to-send-a-message-to-an-apache-activemq-queue-with-clojure/
• Send to a Topic – http://simplesassim.wordpress.com/2013/12/31/how-to-send-a-message-to-an-apache-activemq-topic-with-clojure/
Clojure
• Receive from a Queue – http://simplesassim.wordpress.com/2013/12/31/how-to-receive-a-message-from-an-apache-activemq-queue-with-clojure/
• Receive from a Topic – http://simplesassim.wordpress.com/2013/12/31/how-to-receive-a-message-from-an-apache-activemq-topic-with-clojure/
GNU CLISP
• Send to Queue – http://simplesassim.wordpress.com/2014/03/17/how-to-send-a-message-to-an-apache-activemq-queue-with-gnu-clisp/
• Send to Topic – http://simplesassim.wordpress.com/2014/03/17/how-to-send-a-message-to-an-apache-activemq-topic-with-gnu-clisp/
GNU CLISP
• Receive from Queue – http://simplesassim.wordpress.com/2014/03/17/how-to-receive-a-message-from-an-apache-activemq-queue-with-gnu-clisp/
• Receive from Topic – http://simplesassim.wordpress.com/2014/03/17/how-to-receive-a-message-from-an-apache-activemq-topic-with-gnu-clisp/
JScheme
• Send to Queue – http://simplesassim.wordpress.com/2014/03/30/how-to-send-a-message-to-an-apache-activemq-queue-with-jscheme/
• Send to Topic – http://simplesassim.wordpress.com/2014/03/30/how-to-send-a-message-to-an-apache-activemq-topic-with-jscheme/
JScheme
• Receive from Queue – http://simplesassim.wordpress.com/2014/03/30/how-to-receive-a-message-from-an-apache-activemq-queue-with-jscheme/
• Receive from Topic – http://simplesassim.wordpress.com/2014/03/30/how-to-receive-a-message-from-an-apache-activemq-topic-with-jscheme/
Kawa
• Send to Queue – http://simplesassim.wordpress.com/2014/03/17/how-to-send-a-message-to-an-apache-activemq-queue-with-kawa/
• Send to Topic – http://simplesassim.wordpress.com/2014/03/17/how-to-send-a-message-to-an-apache-activemq-topic-with-kawa/
Kawa
• Receive from Queue – http://simplesassim.wordpress.com/2014/03/17/how-to-receive-a-message-from-an-apache-activemq-queue-with-kawa/
• Receive from Topic – http://simplesassim.wordpress.com/2014/03/17/how-to-receive-a-message-from-an-apache-activemq-topic-with-kawa/
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/
MIT/GNU Scheme
• Send to Queue – http://simplesassim.wordpress.com/2014/03/24/how-to-send-a-message-to-an-apache-activemq-queue-with-mitgnu-scheme/
• Send to Topic – http://simplesassim.wordpress.com/2014/03/24/how-to-send-a-message-to-an-apache-activemq-topic-with-mitgnu-scheme/
MIT/GNU Scheme
• Receive from Queue – http://simplesassim.wordpress.com/2014/03/25/how-to-receive-a-message-from-an-apache-activemq-queue-with-mitgnu-scheme/
• Receive from Topic – http://simplesassim.wordpress.com/2014/03/25/how-to-receive-a-message-from-an-apache-activemq-topic-with-mitgnu-scheme/
Racket
• Send to Queue – http://simplesassim.wordpress.com/2014/03/29/how-to-send-a-message-to-an-apache-activemq-queue-with-racket/
• Send to Topic – http://simplesassim.wordpress.com/2014/03/29/how-to-send-a-message-to-an-apache-activemq-topic-with-racket/
Racket
• Receive from Queue – http://simplesassim.wordpress.com/2014/03/29/how-to-receive-a-message-from-an-apache-activemq-queue-with-racket/
• Receive from Topic – http://simplesassim.wordpress.com/2014/03/29/how-to-receive-a-message-from-an-apache-activemq-topic-with-racket/
SISC
• Send to Queue – http://simplesassim.wordpress.com/2014/04/06/how-to-send-a-message-to-an-apache-activemq-queue-with-sisc/
• Send to Topic – http://simplesassim.wordpress.com/2014/04/06/how-to-send-a-message-to-an-apache-activemq-topic-with-sisc/
SISC
• Remove from Queue – http://simplesassim.wordpress.com/2014/04/06/how-to-receive-a-message-from-an-apache-activemq-queue-with-sisc/
• Remove from Topic – http://simplesassim.wordpress.com/2014/04/06/how-to-receive-a-message-from-an-apache-activemq-topic-with-sisc/
References
• Red Hat JBoss A-MQ – http://www.redhat.com/products/jbossenterprisemiddleware/amq/
• Apache ActiveMQ – http://activemq.apache.org/
• ABCL – http://www.abcl.org/
References
• Allegro CL – http://franz.com/products/allegro-common-lisp/
• Bigloo – http://www-sop.inria.fr/mimosa/fp/Bigloo/
• Clojure – http://www.clojure.org/• GNU CLISP – http://www.clisp.org/
References
• Usocket – http://www.common-lisp.net/project/usocket/
• JScheme – http://jscheme.sourceforge.net/• Kawa – https://www.gnu.org/software/kawa/• LFE – http://lfe.github.io/• MIT/GNU Scheme –
https://www.gnu.org/software/mit-scheme/
References
• Racket – http://www.racket-lang.org/• Racket STOMP Client – https://
github.com/tonyg/racket-stomp• SISC – http://www.sisc-scheme.org/