Java Message Service (JMS) Question:
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.
Previous Question | Next Question |
What is publish/subscribe messaging? | What are the different parts of a JMS message ? |