Java Message Service (JMS) Question:
Download Questions PDF

What is the difference between durable and non-durable subscriptions?

Answer:

Point-To-Point (PTP). This model allows exchanging messages via queues created for some purposes. A client can send and receive messages from one or several queues. PTP model is easier than pub/sub model.
A durable subscription gives a subscriber the freedom of receiving all messages from a topic, whereas a non-durable subscription doesn't make any guarantees about messages sent by others when a client was disconnected from a topic.

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

Previous QuestionNext Question
What is the use of JMS? In which situations we are using JMS? Can we send message from one server to another server using JMS?What is the difference between Message producer and Message consumer?