110 likes | 143 Views
This presentation gives an overview of the Apache ActiveMQ project. It covers areas like protocols, containers, libraries, AJAX, Artemis and WebSockets. <br> <br>Links for further information and connecting<br><br>http://www.amazon.com/Michael-Frampton/e/B00NIQDOOM/<br><br>https://nz.linkedin.com/pub/mike-frampton/20/630/385<br><br>https://open-source-systems.blogspot.com/<br><br>Music by <br><br>"Little Planet", composed and performed by Bensound from http://www.bensound.com/
E N D
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
ActiveMQ Protocols Supported ● AMQP ● RSS and Atom ● AUTO ● Stomp ● MQTT ● WSIF ● OpenWire ● WS Notification ● REST ● XMPP Binary protocols like OpenWire are faster than text based protocols like Stomp.
ActiveMQ Containers ● OSGi Integration ● Axis and CXF Support ● Resource Adapter ● BlazeDS ● SJSAS with GenericJMSRA ● Geronimo ● Spring Support ● Glassfish ● Sun JNDI ● JBoss ● Tomcat ● J2EE ● WebLogic Integration ● JCA Container ● zOS ● JNDI Support
ActiveMQ Libraries ● Node.js ● .NET ● Perl 5 ● C++ ● Pike ● Erlang ● Python ● Go ● Racket ● Haskell ● Ruby on Rails ● Jekejeke Prolog ● Tcl/Tk ● NetLogo See the following page – activemq.apache.org/cross-language-clients For a huge list of code samples
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
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
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
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
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 –
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