5.1. Using Basic Reliability Mechanisms

The basic mechanisms for achieving or affecting reliable message delivery are as follows:

  • Controlling message acknowledgment. You can specify various levels of control over message acknowledgment.

  • Specifying message persistence. You can specify that messages are persistent, meaning that they must not be lost in the event of a provider failure.

  • Setting message priority levels. You can set various priority levels for messages, which can affect the order in which the messages are delivered.

  • Allowing messages to expire. You can specify an expiration time for messages, so that they will not be delivered if they are obsolete.

  • Creating temporary destinations. You can create temporary destinations that last only ...

Get Java™ Message Service API Tutorial and Reference: Messaging for the J2EE™ Platform now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.