February 2002
Beginner to intermediate
544 pages
10h 23m
English
This chapter explains how to use features of the JMS API to achieve the level of reliability and performance your application requires. Many JMS applications cannot tolerate dropped or duplicate messages and require that every message be received once and only once.
The most reliable way to produce a message is to send a PERSISTENT message within a transaction. JMS messages are PERSISTENT by default. A transaction is a unit of work into which you can group a series of operations, such as message sends and receives, so that the operations either all succeed or all fail. For details, see Section 5.1.2 on page 58 and Section 5.2.2 on page 64.
The most reliable way to consume a message is to do so within ...
Read now
Unlock full access