Java Tutorial - Java Scipt :
Other Aspects of Messaging
There are messaging aspects that are orthogonal to the messaging model of queues versus topics, also known as PTP versus pub/sub messaging. Notably, these include the following notions:
· Persistence guarantees that messages survive the shutdown of the JMS server, whether voluntarily or otherwise.
· Durability applies only those who subscribe to a topic and guarantees that the topic will attempt to redeliver messages to a subscriber if the subscriber is temporarily unavailable.
· Selectors are used to restrict delivery of messages to just the ones you’re interested in. The selector holds a selection expression, based on a subset of SQL. Potential messages are filtered based on that expression and only delivered if they pass.