Java Messaging Service is an api that provides the facility to create and send the messages.
JMS makes easy to develop enterprise applications that asynchronously send and receive business data and events. It defines a common enterprise messaging API that is designed to be easily and efficiently supported by a wide range of enterprise messaging products.


Apache ActiveMQ is a message broker which fully implements the Java Messaging Service API 1.1 and Supports a variety of Cross Language Clients and Protocols such as Java, C, C++, C#, Ruby, Perl, Python, PHP. This makes messages to share a common format and semantic, which makes integration between different applications easier.
We are looking into a JMS example, which involves two JMS clients. The first client sends a message to a queue destination. The second client retrieves the message from the same queue destination. The concept is shown above as a schematic.
Famous Messaging broker : Rabbit MQ

Leave a comment