Session

A session is defined as the time between the unitization of the MQSeries Everyplace system, and its termination, within a single memory space. In terms of windows there is one session for each processes. With the underlying implementation being in Java , this implies that a session has only one queue manager.

The session should be initialized and then terminated before the process exits. While session initialization and termination are being performed, no other thread should access the MQSeries Everyplace API. Failure to follow these procedures results in unpredictable errors. After termination any thread accessing the API receives an error.

Session unitize and terminate should be called on the same thread.



© IBM Corporation 2000, 2003. All Rights Reserved