Answer Posted / munnu
Messaging lets a servlet delegate processing to a batch process either on the same machine or on a separate machine. The servlet creates a message and sends it to a queue. The servlet immediately completes and when the batch process is ready, it processes the message.
Messaging is therefore comprised of three main components:
A Producer creates messages and sends them to a Queue. The Producer could be something like a Servlet.
A Queue stores the messages from the Produces and provides them to a Consumer when ready. The Queue is implemented by the messaging provider.
A Consumer processes messages as they become available in the Queue. The Consumer is typically a bean implementing the MessageListener interface.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the basic advantages of jms?
How do I use a third-party jdbc driver with jms?
What happens when jms queue is full?
What is jms full form?
How the jms is different from rpc?
Why do we use jms?
Why do we need jms?
What is a queued message?
What is Publish/Subscribe approach?
What is jms queue in java?
What is a topic in messaging?
What are all the features of JMS API in J2EE platform?
What are the components of a jms messaging application?
What is jms in java?
What is the difference between jms and kafka?