Class BytesMessage

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

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

      public byte[] body()
      Returns the body.
      Returns:
      body
    • body

      public BytesMessage body(byte[] b)
      Sets the body.
      Parameters:
      b - body
      Returns:
      BytesMessage