General rules govern how a multithreaded application can use XMS objects;
- Only objects of the following types can be used concurrently on different
threads:
- ConnectionFactory
- Connection
- ConnectionMetaData
- Destination
- A Session object can be used on only a single thread at any one time.
Exceptions to these rules are indicated by entries labelled "Thread context" in
the interface definitions of the methods in Reference.