NonStop JMS C++ API Programmer's Guide
Contents
NonStop Server for Java Message Service C++ API Programmer’s Guide—526459-002
ii
3. Installation and Configuration for TNS/E
3. Installation and Configuration for TNS/E
NSJMS C++ API System Requirements 3-1
Hardware 3-1
Software 3-1
Minimum Disk Space 3-1
NSJMS C++ API Installation Process 3-1
Before You Begin the Installation 3-1
Run the IPSetup Program 3-2
Unpax the NSJMS C++ API Product Files. 3-3
Install and Configure the NSJMS C++ API
3-6
NSJMS C++ API Directory Structure
3-9
NSJMS Properties File 3-9
Uninstalling the NSJMS C++ API 3-10
4. NSJMS C++ API Classes and Methods
BytesMessage Class 4-2
Consumer Class 4-2
MapMessage Class 4-2
Message Class 4-3
ObjectMessage Class 4-4
Producer Class 4-5
Session Class 4-5
StreamMessage Class 4-6
TextMessage Class 4-7
5. Using the NSJMS C++ API
Establishing Destinations and Managing Transactions External to the NSJMS C++
API 5-1
Establishing Destinations 5-1
Managing Transactions
5-2
Developing NSJMS C++ API Client Applications
5-2
Creating a Session 5-3
Populating a Message with Data 5-3
Sending a Message 5-5
Receiving a Message 5-9
Retrieving Data from a Message 5-11
Building NSJMS C++ API Client Applications
5-12
Compiling and Linking User Written C++ Programs for use with the NSJMS C++
API 5-13
Running User Written C++ Programs 5-15