logMessage

When the log message request is received, Transaction Server places an entry in the enterprise log on behalf of the client application. The log entry inserted may be an error condition, a warning, or informational text.

The message payload contains all of the details that Transaction Server needs to generate the log entry. The following table shows the fields that are needed to create a log message request.

Table 1. logMessage Request
Field Description
Message Type The message type text for this message. The strings that can be used for the message type are:
  • AppBridgeConstants.MSGTYPE_LOG_MESSAGE
  • logMessage
Using the string that is defined in the AppBridgeConstants interface is the preferred method for setting the message type.
Unit of Work An identifier and type that are used to identify the subject of this log message request. This field is optional.
Payload A LogMessageBean instance containing the information to be added to the enterprise log. For a description of the bean, see logMessageBean.

For a complete description of the classes used by the log message API, refer to the Javadoc information in Transaction Server.