JMS Tutorials

Introduction to Java Messaging Service (JMS)

Java Messaging Service (JMS) API is a specification that allows java programs to create, send and receive messages asynchronously from one application to another. This communication is loosely coupled and very much reliable. JMS Provider JMS Provider is a messaging system that implements the JMS specification. This acts as the...

How to setup ActiveMQ

As we are diving into the concept of Java Messaging Service (JMS), the first step to going into the practicals is to setup ActiveMQ. First download one of SNAPSHOT binaries from http://activemq.apache.org/download.html and copy the downloaded directory to OS installation drive (C:\). In the downloaded root directory, you will see a sub-folder named ‘/bin‘, which contains a...

JMS Receiver application with ActiveMQ and Maven

We have been through the basic introduction to Java Messaging Service (JMS), we are now ready to create a simple JMS Receiver application, where a message will be dropped on a particular queue and a listener in our application will be consuming the message to further process it. Let’s first pickup a standard queue...

JMS Sender application with ActiveMQ and Maven

We have already seen how to create a JMS Receiver application with ActiveMQ and Maven. Let’s check out how we can similarly create the JMS Sender application. web.xml remains the same as we had used for creating the receiver application – [crayon-5a635451ec4fb151468804/] jmsContext.xml would change a bit to something like – [crayon-5a635451ec504029610856/]...

Introduction to Spring Integration Framework

As we are very much aware of the Spring Framework and JMS. In this article, we will get introduced to an enterprise integration framework known as Spring Integration. Spring Integration is an open source enterprise integration framework that enhances the capability of what Spring could have done alone. Built on...
Receive our updates to your inbox

Get more stuff like this
in your inbox

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.