What is Producer and Consumer?
Answer / 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 |
How kafka is different from jms?
Is ibm mq jms compliant?
What is jms used for?
Must I place all my class files in the WEB-INF folder and all JSP's outside?
0 Answers Nigerian Ports Authority,
What is mdb in jms?
What are the different elements present in JMS?
Explain about Connection interface?
How Does the JMS API Work with the J2EE Platform?
What is Service Provider ?
Explain JMS and its Component?
How to handle the exception caused by jms?
How the jms is different from rpc?