public interface BytesMessage extends Message
DEFAULT_DELIVERY_MODE, DEFAULT_PRIORITY, DEFAULT_TIME_TO_LIVE| Modifier and Type | Method and Description |
|---|---|
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() |
java.lang.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(java.lang.Object value) |
void |
writeShort(short value) |
void |
writeUTF(java.lang.String value) |
acknowledge, clearBody, clearProperties, getBooleanProperty, getByteProperty, getDoubleProperty, getFloatProperty, getIntProperty, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSDeliveryMode, getJMSDestination, getJMSExpiration, getJMSMessageID, getJMSPriority, getJMSRedelivered, getJMSReplyTo, getJMSTimestamp, getJMSType, getLongProperty, getObjectProperty, getPropertyNames, getShortProperty, getStringProperty, propertyExists, setBooleanProperty, setByteProperty, setDoubleProperty, setFloatProperty, setIntProperty, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSDeliveryMode, setJMSDestination, setJMSExpiration, setJMSMessageID, setJMSPriority, setJMSRedelivered, setJMSReplyTo, setJMSTimestamp, setJMSType, setLongProperty, setObjectProperty, setShortProperty, setStringPropertylong getBodyLength()
throws JMSException
JMSExceptionboolean readBoolean()
throws JMSException
JMSExceptionbyte readByte()
throws JMSException
JMSExceptionint readUnsignedByte()
throws JMSException
JMSExceptionshort readShort()
throws JMSException
JMSExceptionint readUnsignedShort()
throws JMSException
JMSExceptionchar readChar()
throws JMSException
JMSExceptionint readInt()
throws JMSException
JMSExceptionlong readLong()
throws JMSException
JMSExceptionfloat readFloat()
throws JMSException
JMSExceptiondouble readDouble()
throws JMSException
JMSExceptionjava.lang.String readUTF()
throws JMSException
JMSExceptionint readBytes(byte[] value)
throws JMSException
JMSExceptionint readBytes(byte[] value,
int length)
throws JMSException
JMSExceptionvoid writeBoolean(boolean value)
throws JMSException
JMSExceptionvoid writeByte(byte value)
throws JMSException
JMSExceptionvoid writeShort(short value)
throws JMSException
JMSExceptionvoid writeChar(char value)
throws JMSException
JMSExceptionvoid writeInt(int value)
throws JMSException
JMSExceptionvoid writeLong(long value)
throws JMSException
JMSExceptionvoid writeFloat(float value)
throws JMSException
JMSExceptionvoid writeDouble(double value)
throws JMSException
JMSExceptionvoid writeUTF(java.lang.String value)
throws JMSException
JMSExceptionvoid writeBytes(byte[] value)
throws JMSException
JMSExceptionvoid writeBytes(byte[] value,
int offset,
int length)
throws JMSException
JMSExceptionvoid writeObject(java.lang.Object value)
throws JMSException
JMSExceptionvoid reset()
throws JMSException
JMSException