public class CoreBytesMessageWrapper extends CoreMessageWrapper
message| Constructor and Description |
|---|
CoreBytesMessageWrapper(ICoreMessage message) |
| Modifier and Type | Method and Description |
|---|---|
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) |
void |
decode() |
void |
encode()
Encode the body into the internal message
|
protected static org.apache.qpid.proton.amqp.Binary |
getBinaryFromMessageBody(CoreBytesMessageWrapper message) |
long |
getBodyLength() |
boolean |
readBoolean() |
byte |
readByte() |
int |
readBytes(byte[] value) |
int |
readBytes(byte[] value,
int length) |
char |
readChar() |
double |
readDouble() |
float |
readFloat() |
int |
readInt() |
long |
readLong() |
short |
readShort() |
int |
readUnsignedByte() |
int |
readUnsignedShort() |
String |
readUTF() |
void |
reset() |
void |
writeBoolean(boolean value) |
void |
writeByte(byte value) |
void |
writeBytes(byte[] value) |
void |
writeBytes(byte[] value,
int offset,
int length) |
void |
writeChar(char value) |
void |
writeDouble(double value) |
void |
writeFloat(float value) |
void |
writeInt(int value) |
void |
writeLong(long value) |
void |
writeObject(Object value) |
void |
writeShort(short value) |
void |
writeUTF(String value) |
clearBody, clearProperties, getBooleanProperty, getByteProperty, getDestination, getDoubleProperty, getExpiration, getFloatProperty, getInnerMessage, getIntProperty, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSDeliveryMode, getJMSMessageID, getJMSPriority, getJMSReplyTo, getJMSTimestamp, getJMSType, getLongProperty, getObjectProperty, getOrignalEncoding, getPropertyNames, getReadBodyBuffer, getShortProperty, getStringProperty, getWriteBodyBuffer, propertyExists, setBooleanProperty, setByteProperty, setDeliveryMode, setDestination, setDoubleProperty, setFloatProperty, setIntProperty, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSExpiration, setJMSMessageID, setJMSPriority, setJMSReplyTo, setJMSTimestamp, setJMSType, setLongProperty, setObjectProperty, setShortProperty, setStringProperty, wrappublic CoreBytesMessageWrapper(ICoreMessage message)
protected static org.apache.qpid.proton.amqp.Binary getBinaryFromMessageBody(CoreBytesMessageWrapper message)
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)
createAMQPSection in class CoreMessageWrapperpublic long getBodyLength()
public boolean readBoolean()
public byte readByte()
public int readUnsignedByte()
public short readShort()
public int readUnsignedShort()
public char readChar()
public int readInt()
public long readLong()
public float readFloat()
public double readDouble()
public String readUTF()
public int readBytes(byte[] value)
public int readBytes(byte[] value,
int length)
public void writeBoolean(boolean value)
public void writeByte(byte value)
public void writeShort(short value)
public void writeChar(char value)
public void writeInt(int value)
public void writeLong(long value)
public void writeFloat(float value)
public void writeDouble(double value)
public void writeUTF(String value)
public void writeBytes(byte[] value)
public void writeBytes(byte[] value,
int offset,
int length)
public void writeObject(Object value) throws ConversionException
ConversionExceptionpublic void encode()
CoreMessageWrapperencode in class CoreMessageWrapperpublic void decode()
decode in class CoreMessageWrapperpublic void reset()
Copyright © 2021 The Apache Software Foundation. All rights reserved.