WebLogic Messaging API Class Library

ISession.CreateTextMessage Method (String)

Creates an initialized ITextMessage object. An ITextMessage object is used to send a message containing a String.

ITextMessage CreateTextMessage(
   String text


the string used to initialize this message

Return Value

An ITextMessage object initialzied with text


Exception Type Condition
MessageException if JMS fails to create this message due to some internal error.

See Also

ISession Interface | WebLogic.Messaging Namespace | ISession. Overload List