Академический Документы
Профессиональный Документы
Культура Документы
Interview Questions
Search Tutorials
JMS Tutorial
JMS Tutorial – Java
JMS – Introduction
JMS – Point-To-Point
Message Service Tutorial Type and Press ENTER...
JMS –
Publish/Subscribe Java Message Service is an API which supports the
Message formal communication called as messaging between
computers on a network. It provides a common
HornetQ Tutorial interface for standard message protocols and message
HornetQ – JMS services in support to the Java programs. It provides
Example facility to create, send and read messages. The JMS API
HornetQ – Maven reduces the concepts that a programmer must learn to
Example use the messaging services/products and it also
Hornetq – Spring
provides the features that support the messaging
Integration
applications.
JMS is a technique which is used in J2EE technology
Popular Tutorials
for an application to communicate with the other
Java 8 Tutorial
application in loosely coupled manner. It means that
Core Java Tutorial
the applications which have to communicate are not
Collections in Java
connected directly they are connected through a
Java Concurrency
common destination. We will go in detail later in this
Spring Boot Tutorial
Spring AOP Tutorial jms tutorial.
Spring MVC Tutorial
Spring Security Table of Contents
Tutorial
Hibernate Tutorial 1. Need of JMS
Jersey Tutorial 2. Benefits of JMS
Maven Tutorial 3. Messaging Domains
Log4j Tutorial
4. Message Consumption
5. JMS participating objects
Regex Tutorial
6. JMS Message Components
1. JMS Tutorial – Need of JMS
In Java, if a person wants to send a message from one
application to another in such a way that both
application do not know anything about each other,
even they may be deployed in separate continents with
no dependency at all. For example, one application A is
running in India and another application is running in
USA, and B is interested in getting some
updates/messages from A – whenever something
unique happen on A. There may be N number of such
applications who are interested in such updates from
A.
1. Asynchronous
2. Reliable
4. Message Consumption
In JMS, the message consumption can be done in two
ways:
4.1. Synchronous
4.2. Asynchronous
• Connection Factories
• Destinations
5.3. Destination
5.4. JMS Connection
connection.close();
• Message Producers
• Message Consumers
producer.send(message);
1. Message Header
– JMSDestination
– JMSDeliveryMode
– JMSMessageID
– JMSTimestamp
– JMSCorrelationID
– JMSReplyTo
– JMSRedelivered
– JMSType
– JMSExpiration
– JMSPriority
2. Message Properties
3. Message Body
Happy Learning !!
References(s):
mike
April 2, 2019
Reply
prateek shah
very good
Reply
Shivkant
Reply
Mnajeet Rana
July 20, 2018
Reply
MAULID BILLIE
February 6, 2017
Reply
Comment
*Want to Post Code Snippets or XML content? Please
use [java] ... [/java] tags otherwise code may not
appear partially or even fully. e.g.
[java]
public static void main (String[] args) {
...
}
[/java]
Name *
Email *
Website
POST COMMENT