GetSyncLogData method: IntBroker class

Syntax

GetSyncLogData(TransactionId, %LogType [, Archive])

Description

Use the GetSyncLogData method to return a log containing information about the specified synchronous message.

You can use this information for debugging. Using this method, you can obtain the request and response data in a synchronous request, both pre- and post-transformation.

This function is used in the PeopleCode for the Message Monitor.

Parameters

Parameter Description

TransactionId

Specify the transaction ID of the published message.

LogType

Specify the type of log you want returned, based on the type of message. See below for the valid values.

Archive

Specify whether to retrieve any archived logs as well. This parameter takes a Boolean value: true to return archived logs, false otherwise. The default value is false.

For the LogType parameter, the valid values are:

Constant Value Description

%Sync_RequestOrig

Gets the log for a sync request original data message.

%Sync_RequestTrans

Gets the log for a sync request transformed data message.

%Sync_ResponseOrig

Gets the log for a sync response original data message.

%Sync_ResponseTrans

Gets the log for a sync response transformed data message.

Returns

An XML string containing the log data.