Java Message Service (JMS) Question:

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

Tweet Share WhatsApp

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) PDF Read All 27 Java Message Service (JMS) Questions
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?