Java javax.jms BytesMessage fields, constructors, methods, implement or subclass

Example usage for Java javax.jms BytesMessage fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.jms BytesMessage.

The text is from its open source code.

Implementation

javax.jms.BytesMessage has the following implementations.
Click this link to see all its implementation.

Method

voidacknowledge()
Acknowledges all consumed messages of the session of this consumed message.
longgetBodyLength()
Gets the number of bytes of the message body when the message is in read-only mode.
ClassgetClass()
Returns the runtime class of this Object .
StringgetJMSCorrelationID()
Gets the correlation ID for the message.
StringgetJMSMessageID()
Gets the message ID.
DestinationgetJMSReplyTo()
Gets the Destination object to which a reply to this message should be sent.
StringgetJMSType()
Gets the message type identifier supplied by the client when the message was sent.
ObjectgetObjectProperty(String name)
Returns the value of the Java object property with the specified name.
EnumerationgetPropertyNames()
Returns an Enumeration of all the property names.
StringgetStringProperty(String name)
Returns the value of the String property with the specified name.
booleanpropertyExists(String name)
Indicates whether a property value exists.
booleanreadBoolean()
Reads a boolean from the bytes message stream.
bytereadByte()
Reads a signed 8-bit value from the bytes message stream.
intreadBytes(byte[] value)
Reads a byte array from the bytes message stream.
intreadBytes(byte[] value, int length)
Reads a portion of the bytes message stream.
intreadInt()
Reads a signed 32-bit integer from the bytes message stream.
longreadLong()
Reads a signed 64-bit integer from the bytes message stream.
StringreadUTF()
Reads a string that has been encoded using a modified UTF-8 format from the bytes message stream.
voidreset()
Puts the message body in read-only mode and repositions the stream of bytes to the beginning.
voidsetIntProperty(String name, int value)
Sets an int property value with the specified name into the message.
voidsetJMSCorrelationID(String correlationID)
Sets the correlation ID for the message.
voidsetJMSDeliveryMode(int deliveryMode)
Sets the DeliveryMode value for this message.
voidsetJMSPriority(int priority)
Sets the priority level for this message.
voidsetJMSReplyTo(Destination replyTo)
Sets the Destination object to which a reply to this message should be sent.
voidsetJMSType(String type)
Sets the message type.
voidsetObjectProperty(String name, Object value)
Sets a Java object property value with the specified name into the message.
voidsetStringProperty(String name, String value)
Sets a String property value with the specified name into the message.
voidwriteBoolean(boolean value)
Writes a boolean to the bytes message stream as a 1-byte value.
voidwriteByte(byte value)
Writes a byte to the bytes message stream as a 1-byte value.
voidwriteBytes(byte[] value)
Writes a byte array to the bytes message stream.
voidwriteInt(int value)
Writes an int to the bytes message stream as four bytes, high byte first.
voidwriteLong(long value)
Writes a long to the bytes message stream as eight bytes, high byte first.
voidwriteUTF(String value)
Writes a string to the bytes message stream using UTF-8 encoding in a machine-independent manner.