GetSyncLogData

Mon 01 January 2018

Syntax

GetSyncLogData(GUID, pubnode, chnlname, msg_name, logtype [, message_version])

Description

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

Note: This function has been deprecated and remains for backward compatibility only. Use the IntBroker class GetSyncLogData method instead.

You can use this information for debugging. Using this function, 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

Field or Control

Definition

GUID

Specify the GUID for the published synchronous message as a string. This property is populated after the message is sent.

pubnode

Specify the name of the node that the synchronous message was published from as a string.

chnlname

Specify the name of the channel the synchronous message was published to as a string.

msg_name

Specify the message definition name that you want to retrieve log data from as a string.

Log_type

Specify the type of log data you want to obtain, as a number. Values are:

1: the original request

2: the transformed request

3: the original response

4: the transformed response

message_version

Specify the message version name as a string.

Returns

An XML string containing the log data.