Function
Format message data as a byte sequence into storage supplied by the program.
tibems_status
tibemsMsg_GetAsBytesCopy( consttibemsMsg
message, const void* bytes,tibems_int
avail_size,tibems_int
* actual_size );
CALL "tibemsMsg_GetAsBytesCopy" USING BY VALUE message, BY REFERENCE bytes, BY VALUE avail-size BY REFERENCE actual-size RETURNING tibems-status END-CALL.
This call formats the data of the message as a byte sequence in EMS wire format, which is suitable for archiving in a file.
Your program must allocate storage for the byte sequence, and supply a pointer to it as an argument.
The byte sequence includes data from the message header, message properties, and all message fields.
The byte sequence might contain interior null bytes.
Status Code
|
Description
|
---|---|
The buffer is not large enough for the data. The return parameter
actual_size indicates the size of the required buffer.
|
TIBCO Enterprise Message Service™ C and COBOL Reference System Release 4.3, February 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |