public class ActiveMQBytesMessage extends ActiveMQMessage
| Modifier and Type | Field and Description |
|---|---|
protected org.fusesource.hawtbuf.ByteArrayOutputStream |
bytesOut |
static byte |
DATA_STRUCTURE_TYPE |
protected java.io.DataInputStream |
dataIn |
protected java.io.DataOutputStream |
dataOut |
protected int |
length |
arrival, brokerInTime, brokerOutTime, cachedEncoding, compressed, content, correlationId, dataStructure, DEFAULT_MINIMUM_MESSAGE_SIZE, destination, droppable, encodedSize, expiration, groupID, groupSequence, marshalledProperties, messageId, originalDestination, originalTransactionId, persistent, priority, producerId, properties, readOnlyBody, readOnlyProperties, recievedByDFBridge, redeliveryCounter, replyTo, size, targetConsumerId, timestamp, transactionId, type, userIDcommandId, responseRequired| Constructor and Description |
|---|
ActiveMQBytesMessage() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkWriteOnlyBody() |
void |
clearBody() |
Message |
copy() |
long |
getBodyLength() |
byte |
getDataStructureType() |
java.lang.String |
getJMSXMimeType() |
void |
onSend()
Send operation event listener.
|
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 |
setObjectProperty(java.lang.String name,
java.lang.Object value) |
java.lang.String |
toString() |
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) |
checkReadOnlyBody, checkValidObject, clearProperties, copy, equals, getBooleanProperty, getByteProperty, getDoubleProperty, getFloatProperty, getIntProperty, getLongProperty, getObjectProperty, getPropertyNames, getShortProperty, getStringProperty, hashCode, isExpired, propertyExists, setBooleanProperty, setBooleanProperty, setByteProperty, setDoubleProperty, setFloatProperty, setIntProperty, setLongProperty, setObjectProperty, setShortProperty, setStringPropertyafterMarshall, afterUnmarshall, beforeMarshall, beforeUnmarshall, clearMarshalledState, copy, decrementReferenceCount, getArrival, getBrokerInTime, getBrokerOutTime, getBrokerPath, getCachedEncoding, getCluster, getContent, getCorrelationId, getDataStructure, getDestination, getEncodedSize, getExpiration, getGroupID, getGroupSequence, getMarshalledProperties, getMessage, getMessageHardRef, getMessageId, getMinimumMessageSize, getOriginalDestination, getOriginalTransactionId, getPriority, getProducerId, getProperties, getProperty, getRedeliveryCounter, getReferenceCount, getReplyTo, getSize, getTargetConsumerId, getTimestamp, getTransactionId, getType, getUserID, incrementRedeliveryCounter, incrementReferenceCount, isAdvisory, isCompressed, isDroppable, isDropped, isInTransaction, isMarshallAware, isMessage, isPersistent, isReadOnlyBody, isReadOnlyProperties, isRecievedByDFBridge, isRedelivered, lazyCreateProperties, onMessageRolledBack, setArrival, setBrokerInTime, setBrokerOutTime, setBrokerPath, setCachedEncoding, setCluster, setCompressed, setContent, setCorrelationId, setDataStructure, setDestination, setDroppable, setEncodedSize, setExpiration, setGroupID, setGroupSequence, setMarshalledProperties, setMessageId, setOriginalDestination, setOriginalTransactionId, setPersistent, setPriority, setProducerId, setProperty, setReadOnlyBody, setReadOnlyProperties, setRecievedByDFBridge, setRedelivered, setRedeliveryCounter, setReplyTo, setTargetConsumerId, setTimestamp, setTransactionId, setType, setUserID, toStringcopy, getCommandId, isBrokerInfo, isMessageAck, isMessageDispatch, isMessageDispatchNotification, isResponse, isResponseRequired, isShutdownInfo, isWireFormatInfo, setCommandId, setResponseRequiredpublic static final byte DATA_STRUCTURE_TYPE
protected transient java.io.DataOutputStream dataOut
protected transient org.fusesource.hawtbuf.ByteArrayOutputStream bytesOut
protected transient java.io.DataInputStream dataIn
protected transient int length
public Message copy()
copy in class ActiveMQMessagepublic void onSend()
throws OpenwireException
ActiveMQMessageonSend in class ActiveMQMessageOpenwireExceptionpublic byte getDataStructureType()
getDataStructureType in interface DataStructuregetDataStructureType in class ActiveMQMessagepublic java.lang.String getJMSXMimeType()
public void clearBody()
throws OpenwireException
clearBody in class ActiveMQMessageOpenwireExceptionpublic long getBodyLength()
throws OpenwireException
OpenwireExceptionpublic boolean readBoolean()
throws OpenwireException
OpenwireExceptionpublic byte readByte()
throws OpenwireException
OpenwireExceptionpublic int readUnsignedByte()
throws OpenwireException
OpenwireExceptionpublic short readShort()
throws OpenwireException
OpenwireExceptionpublic int readUnsignedShort()
throws OpenwireException
OpenwireExceptionpublic char readChar()
throws OpenwireException
OpenwireExceptionpublic int readInt()
throws OpenwireException
OpenwireExceptionpublic long readLong()
throws OpenwireException
OpenwireExceptionpublic float readFloat()
throws OpenwireException
OpenwireExceptionpublic double readDouble()
throws OpenwireException
OpenwireExceptionpublic java.lang.String readUTF()
throws OpenwireException
OpenwireExceptionpublic int readBytes(byte[] value)
throws OpenwireException
OpenwireExceptionpublic int readBytes(byte[] value,
int length)
throws OpenwireException
OpenwireExceptionpublic void writeBoolean(boolean value)
throws OpenwireException
OpenwireExceptionpublic void writeByte(byte value)
throws OpenwireException
OpenwireExceptionpublic void writeShort(short value)
throws OpenwireException
OpenwireExceptionpublic void writeChar(char value)
throws OpenwireException
OpenwireExceptionpublic void writeInt(int value)
throws OpenwireException
OpenwireExceptionpublic void writeLong(long value)
throws OpenwireException
OpenwireExceptionpublic void writeFloat(float value)
throws OpenwireException
OpenwireExceptionpublic void writeDouble(double value)
throws OpenwireException
OpenwireExceptionpublic void writeUTF(java.lang.String value)
throws OpenwireException
OpenwireExceptionpublic void writeBytes(byte[] value)
throws OpenwireException
OpenwireExceptionpublic void writeBytes(byte[] value,
int offset,
int length)
throws OpenwireException
OpenwireExceptionpublic void writeObject(java.lang.Object value)
throws OpenwireException
OpenwireExceptionpublic void reset()
throws OpenwireException
OpenwireExceptionprotected void checkWriteOnlyBody()
throws OpenwireException
OpenwireExceptionpublic void setObjectProperty(java.lang.String name,
java.lang.Object value)
throws OpenwireException
setObjectProperty in class ActiveMQMessageOpenwireExceptionCopyright © 2014 Red Hat. All Rights Reserved.