SISConnectorSvcGetNextPendingMessages Method |
The GetNextPendingMessages method is used to retrieve a specific number of messages whose status is Pending from the
Outgoing Transaction queue. The status of the retrieved messages is automatically changed from Pending to Tagged.
Namespace: SISConnectorService
C#
public ReturnStatus GetNextPendingMessages( int recordCount, long[] propertyIds, out ObjectInformation[] objectsInformation )
Parameters
- recordCount
- Type: SystemInt32
[in] The number of messages that must be retrieved from the Outgoing Transaction queue. For example, if you want to retrieve five messages from the Outgoing Transaction queue, specify the value 5, and the first five messages of the queue are retrieved. In this example, if the queue contains only three messages, only those three messages are retrieved. - propertyIds
- Type: SystemInt64
[in] This is an array of Property IDs of the Outgoing Transaction queue. - objectsInformation
- Type: Talisma.Server.TLSysSISConnectorObjectInformation
[out] The objectInformation parameter is an array of the ObjectInformation structure, which contains information about the Outgoing Transaction queue whose messages are retrieved.
Return Value
Type: ReturnStatusThe GetNextPendingMessages method returns the ReturnStatus structure with the value of the statusId member as 0 if the operation is successful and -1 along with the error code and error message if the operation fails.
