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 do you mean by Synchronous and Asynchronous type of messaging?
Explain about Connection factory interface?
What is asynchronous messaging in jms?
List types of Messaging services supported by JMS?
How to create an ejb session in order to start a jms connection?
Why jms is used in java?
What are the components of JMS?
Which messaging modes are included in the java messaging service jms )?
In which situations we are using jms? Can we send message from one server to another server using jms?
What are jms channels?
What is jms queue in weblogic?
How does a message queue work?
How do I start jms server?
What is the use of EventMessage.java?
What is difference between queue and topic in jms?