Durable and non-durable subscriptions
 Technote (troubleshooting)
 
Problem(Abstract)
What is the difference between a durable subscription and a non-durable subscription? Can a message driven bean be a durable subscriber?
 
Resolving the problem
A durable subscription to a topic means that a JMS subscriber receives all messages, even if the subscriber is inactive. If a message is sent to a topic that has an inactive durable subscriber, the message will be persisted and delivered when the durable subscriber is once again active. A non-durable subscription to a topic means the subscriber only receives messages that are published while the subscriber is active. Any messages delivered while the subscriber is inactive will be lost.

Since message-driven bean containers are JMS consumers, the container can register itself as a durable or non-durable subscriber to messages published to a topic. Durability allows persistent messages to be sent to a topic even though the application server hosting the message-driven bean consumers has crashed.

 
 
Cross Reference information
Segment Product Component Platform Version Edition
Application Servers Runtimes for Java Technology Java SDK
 
Product Alias/Synonym
JMS - Java Messaging Service
 
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > Java 2 Connectivity (J2C)
Operating system(s): Windows
Software version: 5.0
Software edition:
Reference #: 1064687
IBM Group: Software Group
Modified date: Nov 27, 2002