Class TextMessage

java.lang.Object
com.swiftmq.impl.streams.comp.message.Message
com.swiftmq.impl.streams.comp.message.TextMessage

public class TextMessage extends Message
Facade to wrap a javax.jms.TextMessage.
Author:
IIT Software GmbH, Muenster/Germany, (c) 2016, All Rights Reserved
  • Method Details

    • type

      public String type()
      return the type of this Message
      Overrides:
      type in class Message
      Returns:
      "text"
    • body

      public String body()
      Returns the body.
      Returns:
      body
    • body

      public TextMessage body(String text)
      Sets the body.
      Parameters:
      text - body
      Returns:
      TextMessage