Java Message Service (JMS) Question:

Which models are supported by JMS? Please, explain them.

Java Message Service (JMS) Interview Question
Java Message Service (JMS) Interview Question

Answer:

Publish/subscribe (pub/sub). This model allows a client (publisher) to send messages to a JMS topic. These messages are retrieved by other clients (subscribers) (it may happen so that a topic has no subscribers) asynchronously. Pub/sub model requires a broker distributing messages to different consumers.


Previous QuestionNext Question
What is publish/subscribe messaging? What are the different parts of a JMS message ?