ReturnStatusDescriptor class

The ReturnStatusDescriptor class enables low-level Java connectors to return error and informational messages in a return-status descriptor. It is part of the CxCommon package. This return-status descriptor provides additional status information is usually returned as part of the request response sent to the integration broker.

Note:
The CWConnectorReturnStatusDescriptor class is the Java connector library class that is a wrapper for the ReturnStatusDescriptor class of the low-level Java connector library. Most Java-connector development should use the Java connector library. For more information on the classes of the Java connector library, see Overview of the Java connector library.
WebSphere InterChange Server

If your business integration system uses InterChange Server, the connector framework returns the return-status descriptor to the collaboration that initiated the request. The collaboration can access the information in this return-status descriptor to obtain the status of its service call request.

Table 158 summarizes the methods in the ReturnStatusDescriptor class.

Table 158. Member methods of the ReturnStatusDescriptor class
Member method Description Page
getErrorString() Retrieves the error message from the object. getErrorString()
getStatus() Retrieves the status of the requested operation. getStatus()
setErrorString() Sets the error message into the object. setErrorString()
setStatus() Sets the status of the requested operation. setStatus()

Copyright IBM Corporation 1997, 2004. All Rights Reserved.