DEVFYI - Developer Resource - FYI

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

JMS Interview Questions and Answers


(Continued from previous question...)

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

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.

(Continued on next question...)

Other Interview Questions