TIBCO Enterprise Message Service 4.3.0 .NET Client Class Library

Tibems.SetMessageEncoding Method 

Set string encoding for message.

public static void SetMessageEncoding(
   Message message,
   string encodingName
);

Parameters

message
The message to which the encoding will be set
encodingName
The name of the encoding to use

Remarks

This will override global encoding setting. Specified encoding will apply to all String values and names of properties and message fields but does not apply to message header fields and WriteUTF method of BytesMessage.
For complete details, see the corresponding item in the book TIBCO Enterprise Message Service .NET Reference.

Exceptions

Exception Type Condition
EMSException If the encoding is not supported

See Also

Tibems Class | TIBCO.EMS Namespace