My Intention for this blog is to publish (Blogish) my knowledge about development and management of systems integration softwere.
This can be useful to all it's readers.
Disclaimer: The views expressed on this blog are my own and do not necessarily reflect the views of Oracle.
Tuesday, 29 March 2011
What is a durable subscription - JMS.
A durable subscription saves messages for an inactive subscriber and deliveres these saved messages when the subscriber reconnects. In this way, a subscriber will not loose any messages even though it disconnected. A durable subscription has no effect on the behavior of the subscriber or the messaging system while the subscriber is active (e.g., connected). A connected subscriber acts the same whether its subscription is durable or non-durable. The difference is in how the messaging system behaves when the subscriber is disconnected.
Use a Durable Subscriber to make the messaging system save messages published while the subscriber is disconnected.