Class ObjectMessage

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

public class ObjectMessage extends Message
Facade to wrap a javax.jms.ObjectMessage.
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:
      "object"
    • body

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

      public ObjectMessage body(Serializable serializable)
      Sets the body.
      Parameters:
      serializable - body
      Returns:
      ObjectMessage