Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is Producer and Consumer?



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

Post New Answer

More JMS Interview Questions

How to consume message from jms queue in soa 12c?

0 Answers  


What are the different elements present in JMS?

0 Answers  


What does jms stand for?

0 Answers  


What is JMS application ?

1 Answers  


Explain about Connection factory interface?

0 Answers  


Why doesn’t the JMS API provide end-to-end synchronous message delivery and notification of delivery?

1 Answers  


Why does jmssession.createtopic or jmssession.createqueue fail to create a destination in wls jms 6.1 (it worked in 5.1)?

0 Answers  


What are the different messaging paradigms JMS supports?

1 Answers  


Which messaging modes are included in the java messaging service jms )?

0 Answers  


What is JMS session?

1 Answers  


How do I use a startup class to initialize and later reference jms objects?

0 Answers  


What is spring jms?

0 Answers  


Categories