Java Message Service (JMS) Question:
Download Questions PDF

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

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.

Download Java Message Service (JMS) Interview Questions And Answers PDF

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