NonStop JMS C++ API Programmer's Guide
Introduction to the NSJMS C++ API
NonStop Server for Java Message Service C++ API Programmer’s Guide—526459-002
1-4
NSJMS C++ API Interoperability with NSJMS
The life cycle for messages sent is:
Create a message object using the Session::createXXXMessage()
methods
Add data to the message using the Message::setXXX() methods
Send a message using the Producer::send() method
Free message resources using the Session::freeMessage() method
The life cycle for messages received is:
Receive a message using the Consumer::receive() method
Retrieve data from the message using the Message::getXXX() methods
Free message resources using the Session::freeMessage() method
For a detailed description about using the NSJMS C++ API for application
development, see Section 5, Using the NSJMS C++ API.