JMS stands for Java Message Service which is a standard for accessing messaging middleware servers in Java. Messaging is a process of exchanging Business data across various applications or services. This is A Complete JMS 2.0 Tutorial with great code examples. Complete code example is available on GitHub, please download and run the examples. The tutorial uses Glassfish opensource Server as an example of a JMS Provider.
You can use ActiveMQ or ActiveMQ Artemes as a JMS Provider, the JMS API remains same only the maven dependency for using the respective JMS providers will change. Below are the topics that are covered in the Tutorial.