Java Message Service (JMS) using ActiveMQ

--

What is JMS?
JMS is the technique used by applications to communicate without being tightly coupled to one another. It provides a platform for applications to send and receive messages to specific or multiple destinations. This technique can be integrated with existing applications to communicate with each other.

What is ActiveMQ? 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 below as a schematic.

Originally published at techaffinity.com.

--

--

Tech & Marketing blogs by TechAffinity
Tech & Marketing blogs by TechAffinity

Written by Tech & Marketing blogs by TechAffinity

TechAffinity is a technology-driven custom software solutions firm delivering unrivaled solutions to companies ranging from #startups to #Fortune500.

No responses yet