CWConnectorReturnStatusDescriptor class

The CWConnectorReturnStatusDescriptor class enables Java connectors to return error and informational messages in a return-status descriptor. This descriptor provides additional status information is usually returned as part of the request response sent to the integration broker that initiated the request.

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.

Note:
The CWConnectorReturnStatusDescriptor class extends the ReturnStatusDescriptor class of the low-level Java connector library. For more information on the classes of the low-level Java connector library, see Overview of the low-level Java connector library.

Table 131 summarizes the methods in the CWConnectorReturnStatusDescriptor class.

Table 131.

Member methods of the CWConnectorReturnStatusDescriptor class
Member method Description Page
CWConnectorReturnStatusDescriptor() Creates a return-status descriptor. CWConnectorReturnStatusDescriptor()
getErrorString() Retrieves a message string from a return-status descriptor. getErrorString()
getStatus() Retrieves the value of the status code from the return-status descriptor. getStatus()
setErrorString() Sets the error or informational message in the return-status descriptor. setErrorString()
setStatus() Sets the value of the status code in the return-status descriptor. setStatus()

Copyright IBM Corp. 1997, 2003