JMS

 What is JMS ?

JMS (Java Message Service) is an API which provides the facility to create, send and read messages between producer(producers) and client(clients). It provides loosely coupled, reliable and asynchronous communication.

It is an implementation to handle the producer–consumer problem. JMS is a part of the Java Platform, Enterprise Edition (Java EE).

JMS is also known as a messaging service.

Elements

Elements

01.JMS provider - An implementation of the JMS interface for message-oriented middleware (MOM). Providers are implemented as either a Java JMS implementation or an adapter to a non-Java MOM.

02.JMS client -An application or process that produces and/or receives messages.

03.JMS producer/publisher - A JMS client that creates and sends messages.

04.JMS consumer/subscriber - A JMS client that receives messages.

05.JMS message - An object that contains the data being transferred between JMS clients.

06.JMS queue - A staging area that contains messages that have been sent and are waiting to be read (by only one consumer). Contrary to what the name queue suggests, messages don’t have to be received in the order in which they were sent. A JMS queue only guarantees that each message is processed only once.

07.JMS topic - A distribution mechanism for publishing messages that are delivered to multiple subscribers.

Comments

Popular posts from this blog

09.Data Binding.

Database - Topics

02. Spring – Creating spring project clone it with GIT step by step.