What is the difference between durability and persistence? Both use secondary storage to "hold" messages.

Jerry Smith

Durable versus nondurable relationships exist between a consuming client and the JMS server, which delivers messages. Persistence versus nonpersistent delivery mode involves a message-level relationship established between the producing client and the JMS server, and only indirectly between the producing and consuming clients.

A producing client can choose persistent delivery mode for either messaging model, publish/subscribe or point-to-point. "Durable delivery" is an option for clients that subscribe to topics, not for clients that connect to a queue.

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.