Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Apache ActiveMQ

Apache ActiveMQ

This presentation gives an overview of the Apache ActiveMQ project. It covers areas like protocols, containers, libraries, AJAX, Artemis and WebSockets.

Links for further information and connecting

http://www.amazon.com/Michael-Frampton/e/B00NIQDOOM/

https://nz.linkedin.com/pub/mike-frampton/20/630/385

https://open-source-systems.blogspot.com/

Music by

"Little Planet", composed and performed by Bensound from http://www.bensound.com/

Mike Frampton

May 13, 2020
Tweet

More Decks by Mike Frampton

Other Decks in Technology

Transcript

  1. What Is ActiveMQ ? • An Open Source Message Broker

    • Written in Java • Apache 2 License • Implements a full JMS client • Scales via a Network of Brokers • Supports Message Persistence via disk or database
  2. ActiveMQ Protocols Supported • AMQP • AUTO • MQTT •

    OpenWire • REST • RSS and Atom • Stomp • WSIF • WS Notification • XMPP Binary protocols like OpenWire are faster than text based protocols like Stomp.
  3. ActiveMQ Containers • Axis and CXF Support • BlazeDS •

    Geronimo • Glassfish • JBoss • J2EE • JCA Container • JNDI Support • OSGi Integration • Resource Adapter • SJSAS with GenericJMSRA • Spring Support • Sun JNDI • Tomcat • WebLogic Integration • zOS
  4. ActiveMQ Libraries • .NET • C++ • Erlang • Go

    • Haskell • Jekejeke Prolog • NetLogo • Node.js • Perl 5 • Pike • Python • Racket • Ruby on Rails • Tcl/Tk See the following page – activemq.apache.org/cross-language-clients For a huge list of code samples
  5. ActiveMQ AJAX • Asynchronous Javascript And Xml Mechanism • Used

    for real time web applications • Uses an AMQ AjaxServlet • Currently uses three adapters for comms – jQuery, Prototype, and Dojo • Can filter received messages via use of selector
  6. ActiveMQ Artemis • A set of Plain Old Java Objects

    ( POJO ) • Ultra high performance persistent journal • Currently two API's – Core client API , JMS 2.0 client API • Offers protocols – AMQP ,OpenWire ,MQTT ,STOMP ,HornetQ ,Core
  7. ActiveMQ JMS to JMS Bridge • Allows bridging to other

    JMS providers • Needs JMS 1.0.2 + • Bridge locally or remotely • Should consider Apache Camel First ! – Enables flexibility – Content based routing – Allows alternatives to JMS
  8. ActiveMQ WebSockets • From v5.4.0 ActiveMQ supports HTML5 WebSockets •

    Browser to Broker asynchronous messaging • Use Stomp for text or JSON • Use MQTT ( v5.9.0 ) for binary • Broker must be on same host as web client
  9. Available Books • See “Big Data Made Easy” – Apress

    Jan 2015 • See “Mastering Apache Spark” – Packt Oct 2015 • See “Complete Guide to Open Source Big Data Stack – “Apress Jan 2018” – • Find the author on Amazon – www.amazon.com/Michael-Frampton/e/B00NIQDOOM/ • Connect on LinkedIn – www.linkedin.com/in/mike-frampton-38563020
  10. Connect • Feel free to connect on LinkedIn – www.linkedin.com/in/mike-frampton-38563020

    • See my open source blog at – open-source-systems.blogspot.com/ • I am always interested in – New technology – Opportunities – Technology based issues – Big data integration