public class ActiveMQStreamMessage extends ActiveMQMessage implements jakarta.jms.StreamMessage
| Modifier and Type | Field and Description |
|---|---|
static byte |
TYPE |
message, OLD_QUEUE_QUALIFIED_PREFIX, OLD_TEMP_QUEUE_QUALIFED_PREFIX, OLD_TEMP_TOPIC_QUALIFED_PREFIX, OLD_TOPIC_QUALIFIED_PREFIX, propertiesReadOnly, readOnly, replyTo| Modifier | Constructor and Description |
|---|---|
|
ActiveMQStreamMessage() |
protected |
ActiveMQStreamMessage(ClientMessage message,
ClientSession session) |
protected |
ActiveMQStreamMessage(ClientSession session) |
|
ActiveMQStreamMessage(jakarta.jms.StreamMessage foreign,
ClientSession session) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearBody() |
void |
doBeforeSend() |
byte |
getType() |
boolean |
isBodyAssignableTo(Class c) |
boolean |
readBoolean() |
byte |
readByte() |
int |
readBytes(byte[] value) |
char |
readChar() |
double |
readDouble() |
float |
readFloat() |
int |
readInt() |
long |
readLong() |
Object |
readObject() |
short |
readShort() |
String |
readString() |
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 |
writeString(String value) |
acknowledge, checkBuffer, checkPrefix, checkPrefixStr, checkRead, checkWrite, clearProperties, coreCompositeTypeToJMSCompositeType, coreMaptoJMSMap, createMessage, createMessage, doBeforeReceive, getBody, getBodyInternal, getBooleanProperty, getByteProperty, getCoreMessage, getDoubleProperty, getFloatProperty, getIntProperty, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSDeliveryMode, getJMSDeliveryTime, getJMSDestination, getJMSExpiration, getJMSMessageID, getJMSPriority, getJMSRedelivered, getJMSReplyTo, getJMSTimestamp, getJMSType, getLongProperty, getObjectProperty, getPropertyNames, getShortProperty, getStringProperty, hasNoBody, prefixOf, propertyExists, resetMessageID, saveToOutputStream, setBooleanProperty, setByteProperty, setClientAcknowledge, setDoubleProperty, setFloatProperty, setIndividualAcknowledge, setInputStream, setIntProperty, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSDeliveryMode, setJMSDeliveryTime, setJMSDestination, setJMSExpiration, setJMSMessageID, setJMSPriority, setJMSRedelivered, setJMSReplyTo, setJMSTimestamp, setJMSType, setLongProperty, setObjectProperty, setOutputStream, setShortProperty, setStringProperty, toString, waitCompletionOnStreamclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitacknowledge, clearProperties, getBody, getBooleanProperty, getByteProperty, getDoubleProperty, getFloatProperty, getIntProperty, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSDeliveryMode, getJMSDeliveryTime, getJMSDestination, getJMSExpiration, getJMSMessageID, getJMSPriority, getJMSRedelivered, getJMSReplyTo, getJMSTimestamp, getJMSType, getLongProperty, getObjectProperty, getPropertyNames, getShortProperty, getStringProperty, propertyExists, setBooleanProperty, setByteProperty, setDoubleProperty, setFloatProperty, setIntProperty, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSDeliveryMode, setJMSDeliveryTime, setJMSDestination, setJMSExpiration, setJMSMessageID, setJMSPriority, setJMSRedelivered, setJMSReplyTo, setJMSTimestamp, setJMSType, setLongProperty, setObjectProperty, setShortProperty, setStringPropertypublic static final byte TYPE
protected ActiveMQStreamMessage(ClientSession session)
protected ActiveMQStreamMessage(ClientMessage message, ClientSession session)
public ActiveMQStreamMessage(jakarta.jms.StreamMessage foreign,
ClientSession session)
throws jakarta.jms.JMSException
jakarta.jms.JMSExceptionpublic ActiveMQStreamMessage()
public byte getType()
getType in class ActiveMQMessagepublic boolean readBoolean()
throws jakarta.jms.JMSException
readBoolean in interface jakarta.jms.StreamMessagejakarta.jms.JMSExceptionpublic byte readByte()
throws jakarta.jms.JMSException
readByte in interface jakarta.jms.StreamMessagejakarta.jms.JMSExceptionpublic short readShort()
throws jakarta.jms.JMSException
readShort in interface jakarta.jms.StreamMessagejakarta.jms.JMSExceptionpublic char readChar()
throws jakarta.jms.JMSException
readChar in interface jakarta.jms.StreamMessagejakarta.jms.JMSExceptionpublic int readInt()
throws jakarta.jms.JMSException
readInt in interface jakarta.jms.StreamMessagejakarta.jms.JMSExceptionpublic long readLong()
throws jakarta.jms.JMSException
readLong in interface jakarta.jms.StreamMessagejakarta.jms.JMSExceptionpublic float readFloat()
throws jakarta.jms.JMSException
readFloat in interface jakarta.jms.StreamMessagejakarta.jms.JMSExceptionpublic double readDouble()
throws jakarta.jms.JMSException
readDouble in interface jakarta.jms.StreamMessagejakarta.jms.JMSExceptionpublic String readString() throws jakarta.jms.JMSException
readString in interface jakarta.jms.StreamMessagejakarta.jms.JMSExceptionpublic int readBytes(byte[] value)
throws jakarta.jms.JMSException
readBytes in interface jakarta.jms.StreamMessagejakarta.jms.JMSExceptionpublic Object readObject() throws jakarta.jms.JMSException
readObject in interface jakarta.jms.StreamMessagejakarta.jms.JMSExceptionpublic void writeBoolean(boolean value)
throws jakarta.jms.JMSException
writeBoolean in interface jakarta.jms.StreamMessagejakarta.jms.JMSExceptionpublic void writeByte(byte value)
throws jakarta.jms.JMSException
writeByte in interface jakarta.jms.StreamMessagejakarta.jms.JMSExceptionpublic void writeShort(short value)
throws jakarta.jms.JMSException
writeShort in interface jakarta.jms.StreamMessagejakarta.jms.JMSExceptionpublic void writeChar(char value)
throws jakarta.jms.JMSException
writeChar in interface jakarta.jms.StreamMessagejakarta.jms.JMSExceptionpublic void writeInt(int value)
throws jakarta.jms.JMSException
writeInt in interface jakarta.jms.StreamMessagejakarta.jms.JMSExceptionpublic void writeLong(long value)
throws jakarta.jms.JMSException
writeLong in interface jakarta.jms.StreamMessagejakarta.jms.JMSExceptionpublic void writeFloat(float value)
throws jakarta.jms.JMSException
writeFloat in interface jakarta.jms.StreamMessagejakarta.jms.JMSExceptionpublic void writeDouble(double value)
throws jakarta.jms.JMSException
writeDouble in interface jakarta.jms.StreamMessagejakarta.jms.JMSExceptionpublic void writeString(String value) throws jakarta.jms.JMSException
writeString in interface jakarta.jms.StreamMessagejakarta.jms.JMSExceptionpublic void writeBytes(byte[] value)
throws jakarta.jms.JMSException
writeBytes in interface jakarta.jms.StreamMessagejakarta.jms.JMSExceptionpublic void writeBytes(byte[] value,
int offset,
int length)
throws jakarta.jms.JMSException
writeBytes in interface jakarta.jms.StreamMessagejakarta.jms.JMSExceptionpublic void writeObject(Object value) throws jakarta.jms.JMSException
writeObject in interface jakarta.jms.StreamMessagejakarta.jms.JMSExceptionpublic void reset()
throws jakarta.jms.JMSException
reset in interface jakarta.jms.StreamMessagejakarta.jms.JMSExceptionpublic void clearBody()
throws jakarta.jms.JMSException
clearBody in interface jakarta.jms.MessageclearBody in class ActiveMQMessagejakarta.jms.JMSExceptionpublic void doBeforeSend()
throws Exception
doBeforeSend in class ActiveMQMessageExceptionpublic boolean isBodyAssignableTo(Class c)
isBodyAssignableTo in interface jakarta.jms.MessageisBodyAssignableTo in class ActiveMQMessageCopyright © 2022 The Apache Software Foundation. All rights reserved.