Exams Attended

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

JMS Interview Questions and Answers

Ques. What is the difference between Message producer and Message consumer?
Ans. In Publish/Subscribe model:
A publish/subscribe (pub/sub) messaging system supports an event driven model where information consumers and producers participate in the transmission of messages. Producers "publish" events, while consumers "subscribe" to events of interest, and consume the events. Producers associate messages with a specific topic, and the messaging system routes messages to consumers based on the topics the consumers register interest in.

In Point-To-Point model:
In point to point messaging systems, messages are routed to an individual consumer which maintains a queue of "incoming" messages. Messaging applications send messages to a specified queue, and clients retrieve messages from a queue.
Is it helpful? Yes No

Most helpful rated by users:

©2021 WithoutBook