Recovery Operations
In the event of a failure on the part of the message producer or consumer, the interface provides several methods and properties to assist in recovery operations.
The following methods are used to support crash recovery. You need to use setStreamID() and getStreamID() (for JMS), and StreamID() (for C#), described earlier, to identify the correct stream in the event of a crash.