Package de.caluga.morphium.messaging.jms
Class JMSBytesMessage
java.lang.Object
de.caluga.morphium.messaging.Msg
de.caluga.morphium.messaging.jms.JMSMessage
de.caluga.morphium.messaging.jms.JMSBytesMessage
- All Implemented Interfaces:
javax.jms.BytesMessage,javax.jms.Message
-
Nested Class Summary
Nested classes/interfaces inherited from class de.caluga.morphium.messaging.Msg
Msg.Fields -
Field Summary
Fields inherited from interface javax.jms.Message
DEFAULT_DELIVERY_DELAY, DEFAULT_DELIVERY_MODE, DEFAULT_PRIORITY, DEFAULT_TIME_TO_LIVE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongvoidpreStore()booleanbytereadByte()intreadBytes(byte[] value) intreadBytes(byte[] value, int length) charreadChar()doublefloatintreadInt()longreadLong()shortintintreadUTF()voidreset()voidwriteBoolean(boolean value) voidwriteByte(byte value) voidwriteBytes(byte[] value) voidwriteBytes(byte[] value, int offset, int length) voidwriteChar(char value) voidwriteDouble(double value) voidwriteFloat(float value) voidwriteInt(int value) voidwriteLong(long value) voidwriteObject(Object value) voidwriteShort(short value) voidMethods inherited from class de.caluga.morphium.messaging.jms.JMSMessage
acknowledge, clearBody, clearProperties, getBody, getBooleanProperty, getByteProperty, getDoubleProperty, getFloatProperty, getIntProperty, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSDeliveryMode, getJMSDeliveryTime, getJMSDestination, getJMSExpiration, getJMSMessageID, getJMSPriority, getJMSRedelivered, getJMSReplyTo, getJMSTimestamp, getJMSType, getLongProperty, getObjectProperty, getPropertyNames, getShortProperty, getStringProperty, isBodyAssignableTo, propertyExists, setBooleanProperty, setByteProperty, setDoubleProperty, setFloatProperty, setIntProperty, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSDeliveryMode, setJMSDeliveryTime, setJMSDestination, setJMSExpiration, setJMSMessageID, setJMSPriority, setJMSRedelivered, setJMSReplyTo, setJMSTimestamp, setJMSType, setLongProperty, setObjectProperty, setShortProperty, setStringPropertyMethods inherited from class de.caluga.morphium.messaging.Msg
addAdditional, addProcessedId, addRecipient, addValue, createAnswerMsg, equals, getAdditional, getDeleteAt, getInAnswerTo, getLocked, getLockedBy, getMapValue, getMsg, getMsgId, getName, getPriority, getProcessedBy, getRecipients, getSender, getSenderHost, getTimestamp, getTo, getTtl, getValue, hashCode, isAnswer, isExclusive, removeAdditional, removeRecipient, removeValue, sendAnswer, setAdditional, setDeleteAt, setExclusive, setInAnswerTo, setLocked, setLockedBy, setMapValue, setMsg, setMsgId, setName, setPriority, setProcessedBy, setRecipient, setRecipients, setSender, setSenderHost, setTimestamp, setTo, setTtl, setValue, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface javax.jms.Message
acknowledge, clearBody, clearProperties, getBody, getBooleanProperty, getByteProperty, getDoubleProperty, getFloatProperty, getIntProperty, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSDeliveryMode, getJMSDeliveryTime, getJMSDestination, getJMSExpiration, getJMSMessageID, getJMSPriority, getJMSRedelivered, getJMSReplyTo, getJMSTimestamp, getJMSType, getLongProperty, getObjectProperty, getPropertyNames, getShortProperty, getStringProperty, isBodyAssignableTo, propertyExists, setBooleanProperty, setByteProperty, setDoubleProperty, setFloatProperty, setIntProperty, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSDeliveryMode, setJMSDeliveryTime, setJMSDestination, setJMSExpiration, setJMSMessageID, setJMSPriority, setJMSRedelivered, setJMSReplyTo, setJMSTimestamp, setJMSType, setLongProperty, setObjectProperty, setShortProperty, setStringProperty
-
Constructor Details
-
JMSBytesMessage
public JMSBytesMessage()
-
-
Method Details
-
preStore
public void preStore() -
getBodyLength
public long getBodyLength() throws javax.jms.JMSException- Specified by:
getBodyLengthin interfacejavax.jms.BytesMessage- Throws:
javax.jms.JMSException
-
readBoolean
public boolean readBoolean() throws javax.jms.JMSException- Specified by:
readBooleanin interfacejavax.jms.BytesMessage- Throws:
javax.jms.JMSException
-
readByte
public byte readByte() throws javax.jms.JMSException- Specified by:
readBytein interfacejavax.jms.BytesMessage- Throws:
javax.jms.JMSException
-
readUnsignedByte
public int readUnsignedByte() throws javax.jms.JMSException- Specified by:
readUnsignedBytein interfacejavax.jms.BytesMessage- Throws:
javax.jms.JMSException
-
readShort
public short readShort() throws javax.jms.JMSException- Specified by:
readShortin interfacejavax.jms.BytesMessage- Throws:
javax.jms.JMSException
-
readUnsignedShort
public int readUnsignedShort() throws javax.jms.JMSException- Specified by:
readUnsignedShortin interfacejavax.jms.BytesMessage- Throws:
javax.jms.JMSException
-
readChar
public char readChar() throws javax.jms.JMSException- Specified by:
readCharin interfacejavax.jms.BytesMessage- Throws:
javax.jms.JMSException
-
readInt
public int readInt() throws javax.jms.JMSException- Specified by:
readIntin interfacejavax.jms.BytesMessage- Throws:
javax.jms.JMSException
-
readLong
public long readLong() throws javax.jms.JMSException- Specified by:
readLongin interfacejavax.jms.BytesMessage- Throws:
javax.jms.JMSException
-
readFloat
public float readFloat() throws javax.jms.JMSException- Specified by:
readFloatin interfacejavax.jms.BytesMessage- Throws:
javax.jms.JMSException
-
readDouble
public double readDouble() throws javax.jms.JMSException- Specified by:
readDoublein interfacejavax.jms.BytesMessage- Throws:
javax.jms.JMSException
-
readUTF
- Specified by:
readUTFin interfacejavax.jms.BytesMessage- Throws:
javax.jms.JMSException
-
readBytes
public int readBytes(byte[] value) throws javax.jms.JMSException - Specified by:
readBytesin interfacejavax.jms.BytesMessage- Throws:
javax.jms.JMSException
-
readBytes
public int readBytes(byte[] value, int length) throws javax.jms.JMSException - Specified by:
readBytesin interfacejavax.jms.BytesMessage- Throws:
javax.jms.JMSException
-
writeBoolean
public void writeBoolean(boolean value) throws javax.jms.JMSException - Specified by:
writeBooleanin interfacejavax.jms.BytesMessage- Throws:
javax.jms.JMSException
-
writeByte
public void writeByte(byte value) throws javax.jms.JMSException - Specified by:
writeBytein interfacejavax.jms.BytesMessage- Throws:
javax.jms.JMSException
-
writeShort
public void writeShort(short value) throws javax.jms.JMSException - Specified by:
writeShortin interfacejavax.jms.BytesMessage- Throws:
javax.jms.JMSException
-
writeChar
public void writeChar(char value) throws javax.jms.JMSException - Specified by:
writeCharin interfacejavax.jms.BytesMessage- Throws:
javax.jms.JMSException
-
writeInt
public void writeInt(int value) throws javax.jms.JMSException - Specified by:
writeIntin interfacejavax.jms.BytesMessage- Throws:
javax.jms.JMSException
-
writeLong
public void writeLong(long value) throws javax.jms.JMSException - Specified by:
writeLongin interfacejavax.jms.BytesMessage- Throws:
javax.jms.JMSException
-
writeFloat
public void writeFloat(float value) throws javax.jms.JMSException - Specified by:
writeFloatin interfacejavax.jms.BytesMessage- Throws:
javax.jms.JMSException
-
writeDouble
public void writeDouble(double value) throws javax.jms.JMSException - Specified by:
writeDoublein interfacejavax.jms.BytesMessage- Throws:
javax.jms.JMSException
-
writeUTF
- Specified by:
writeUTFin interfacejavax.jms.BytesMessage- Throws:
javax.jms.JMSException
-
writeBytes
public void writeBytes(byte[] value) throws javax.jms.JMSException - Specified by:
writeBytesin interfacejavax.jms.BytesMessage- Throws:
javax.jms.JMSException
-
writeBytes
public void writeBytes(byte[] value, int offset, int length) throws javax.jms.JMSException - Specified by:
writeBytesin interfacejavax.jms.BytesMessage- Throws:
javax.jms.JMSException
-
writeObject
- Specified by:
writeObjectin interfacejavax.jms.BytesMessage- Throws:
javax.jms.JMSException
-
reset
public void reset() throws javax.jms.JMSException- Specified by:
resetin interfacejavax.jms.BytesMessage- Throws:
javax.jms.JMSException
-