WebLogic Messaging API Class Library

ITextMessage Interface

An ITextMessage object is used to send a message containing a String. It inherits from the IMessage interface and adds a text message body.

This message type can be used to transport text-based messages, including those with XML content.

When a client receives a ITextMessage, it is in read-only mode. If a client attempts to write to the message at this point, a MessageNotWriteableException is thrown. If ClearBody is called, the message can now be both read from and written to.

For a list of all members of this type, see ITextMessage Members.

public interface ITextMessage : WebLogic.Messaging.IMessage

Requirements

Namespace: WebLogic.Messaging

Assembly: WebLogic.Messaging (in WebLogic.Messaging.dll)

See Also

ITextMessage Members | WebLogic.Messaging Namespace | ISession.CreateTextMessage() | ISession.CreateTextMessage(string) | IBytesMessage | IMapMessage | IMessage | IObjectMessage | IStreamMessage