## Uses of Interface
javax.jms.TextMessage

- Packages that use TextMessage
  Package | Description
  --- | ---
  javax.jms | The Java Message Service (JMS) API provides a common way for Java programs to create, send, receive and read an enterprise messaging system's messages.

- - ### Uses of TextMessage in javax.jms

    Methods in javax.jms that return TextMessage
    Modifier and Type | Method and Description
    --- | ---
    `TextMessage` | Session.`createTextMessage()` Creates a `TextMessage` object.
    `TextMessage` | JMSContext.`createTextMessage()` Creates a `TextMessage` object.
    `TextMessage` | Session.`createTextMessage(String text)` Creates an initialized `TextMessage` object.
    `TextMessage` | JMSContext.`createTextMessage(String text)` Creates an initialized `TextMessage` object.

Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.