tibemsMsg_GetEncoding


Function

Purpose

Get the character encoding header from a message.

C Declaration

tibems_status tibemsMsg_GetEncoding( 
    const tibemsMsg message, 
    const char** value ); 

COBOL Call

CALL "tibemsMsg_GetEncoding" 
     USING BY VALUE message, 
           BY REFERENCE value, 
           RETURNING tibems-status 
END-CALL. 

message and value have usage pointer.

Parameters

Parameter
Description
message
Get the character encoding from this message.
value
The function stores the character encoding in this location.

Remarks

This call extends the JMS specification.

This encoding applies to all strings in message bodies (names and values), and properties (names and values). It does not apply to header names nor values. The functions tibemsBytesMsg_ReadUTF and tibemsBytesMsg_WriteUTF are exempt from message encoding settings.

See Also

Strings and Character Encodings

tibemsMsg_SetEncoding


TIBCO Enterprise Message Service™ C and COBOL Reference
System Release 4.3, February 2006
Copyright © TIBCO Software Inc. All rights reserved
www.tibco.com