Tibems.GetMessageEncoding


Method

Declaration

static string GetMessageEncoding( 
    Message message ); 

Purpose

Return the character encoding for an individual message.

Remarks

If the encoding has not been set for the individual message, this method returns null.

This encoding for an individual message overrides the global encoding. When neither a global nor an individual encoding has been set, then EMS encodes the strings of an outbound message using the default UTF-8 encoding.

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 methods BytesMessage.ReadUTF and BytesMessage.WriteUTF are exempt from global and individual encoding settings.

Parameter
Description
message
Get the encoding for this message.

See Also

BytesMessage—Read

BytesMessage—Write

Tibems.GetEncoding

Tibems.SetEncoding

Tibems.SetMessageEncoding


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