The method Session.createTextMessage() is a part of the Java Message Service (JMS) API and is used to create a text message that contains a String-based payload. This method is typically used in applications to send text-based messages within a JMS system, where the message content is represented as plain text. The createTextMessage() method is called on a Session object, which represents an active session with a JMS provider, and returns a TextMessage object that can be populated with the desired text content.
Java Session.createTextMessage - 23 examples found. These are the top rated real world Java examples of Session.createTextMessage extracted from open source projects. You can rate examples to help us improve the quality of examples.