Class CoreBytesMessageWrapper

java.lang.Object
org.apache.activemq.artemis.protocol.amqp.converter.coreWrapper.CoreMessageWrapper
org.apache.activemq.artemis.protocol.amqp.converter.coreWrapper.CoreBytesMessageWrapper

public class CoreBytesMessageWrapper extends CoreMessageWrapper
  • Constructor Details

    • CoreBytesMessageWrapper

      public CoreBytesMessageWrapper(ICoreMessage message)
  • Method Details

    • getBinaryFromMessageBody

      protected static org.apache.qpid.proton.amqp.Binary getBinaryFromMessageBody(CoreBytesMessageWrapper message)
    • createAMQPSection

      public org.apache.qpid.proton.amqp.messaging.Section createAMQPSection(Map<org.apache.qpid.proton.amqp.Symbol, Object> maMap, org.apache.qpid.proton.amqp.messaging.Properties properties)
      Overrides:
      createAMQPSection in class CoreMessageWrapper
    • getBodyLength

      public long getBodyLength()
    • readBoolean

      public boolean readBoolean()
    • readByte

      public byte readByte()
    • readUnsignedByte

      public int readUnsignedByte()
    • readShort

      public short readShort()
    • readUnsignedShort

      public int readUnsignedShort()
    • readChar

      public char readChar()
    • readInt

      public int readInt()
    • readLong

      public long readLong()
    • readFloat

      public float readFloat()
    • readDouble

      public double readDouble()
    • readUTF

      public String readUTF()
    • readBytes

      public int readBytes(byte[] value)
    • readBytes

      public int readBytes(byte[] value, int length)
    • writeBoolean

      public void writeBoolean(boolean value)
    • writeByte

      public void writeByte(byte value)
    • writeShort

      public void writeShort(short value)
    • writeChar

      public void writeChar(char value)
    • writeInt

      public void writeInt(int value)
    • writeLong

      public void writeLong(long value)
    • writeFloat

      public void writeFloat(float value)
    • writeDouble

      public void writeDouble(double value)
    • writeUTF

      public void writeUTF(String value)
    • writeBytes

      public void writeBytes(byte[] value)
    • writeBytes

      public void writeBytes(byte[] value, int offset, int length)
    • writeObject

      public void writeObject(Object value) throws ConversionException
      Throws:
      ConversionException
    • encode

      public void encode()
      Description copied from class: CoreMessageWrapper
      Encode the body into the internal message
      Overrides:
      encode in class CoreMessageWrapper
    • decode

      public void decode()
      Overrides:
      decode in class CoreMessageWrapper
    • reset

      public void reset()