Class BytesMessageUtil
- java.lang.Object
-
- org.apache.activemq.artemis.reader.MessageUtil
-
- org.apache.activemq.artemis.reader.BytesMessageUtil
-
public class BytesMessageUtil extends MessageUtil
-
-
Field Summary
-
Fields inherited from class org.apache.activemq.artemis.reader.MessageUtil
CONNECTION_ID_PROPERTY_NAME, CONNECTION_ID_PROPERTY_NAME_STRING, CORRELATIONID_HEADER_NAME, CORRELATIONID_HEADER_NAME_STRING, JMS, JMS_, JMSX, JMSXDELIVERYCOUNT, JMSXGROUPID, JMSXGROUPSEQ, JMSXUSERID, REPLYTO_HEADER_NAME, TYPE_HEADER_NAME, TYPE_HEADER_NAME_STRING
-
-
Constructor Summary
Constructors Constructor Description BytesMessageUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidbytesMessageReset(org.apache.activemq.artemis.api.core.ActiveMQBuffer message)static booleanbytesReadBoolean(org.apache.activemq.artemis.api.core.ActiveMQBuffer message)static bytebytesReadByte(org.apache.activemq.artemis.api.core.ActiveMQBuffer message)static intbytesReadBytes(org.apache.activemq.artemis.api.core.ActiveMQBuffer message, byte[] value)static intbytesReadBytes(org.apache.activemq.artemis.api.core.ActiveMQBuffer message, byte[] value, int length)static charbytesReadChar(org.apache.activemq.artemis.api.core.ActiveMQBuffer message)static doublebytesReadDouble(org.apache.activemq.artemis.api.core.ActiveMQBuffer message)static floatbytesReadFloat(org.apache.activemq.artemis.api.core.ActiveMQBuffer message)static intbytesReadInt(org.apache.activemq.artemis.api.core.ActiveMQBuffer message)static longbytesReadLong(org.apache.activemq.artemis.api.core.ActiveMQBuffer message)static shortbytesReadShort(org.apache.activemq.artemis.api.core.ActiveMQBuffer message)static intbytesReadUnsignedByte(org.apache.activemq.artemis.api.core.ActiveMQBuffer message)static intbytesReadUnsignedShort(org.apache.activemq.artemis.api.core.ActiveMQBuffer message)static java.lang.StringbytesReadUTF(org.apache.activemq.artemis.api.core.ActiveMQBuffer message)static voidbytesWriteBoolean(org.apache.activemq.artemis.api.core.ActiveMQBuffer message, boolean value)static voidbytesWriteByte(org.apache.activemq.artemis.api.core.ActiveMQBuffer message, byte value)static voidbytesWriteBytes(org.apache.activemq.artemis.api.core.ActiveMQBuffer message, byte[] value)static voidbytesWriteBytes(org.apache.activemq.artemis.api.core.ActiveMQBuffer message, byte[] value, int offset, int length)static voidbytesWriteChar(org.apache.activemq.artemis.api.core.ActiveMQBuffer message, char value)static voidbytesWriteDouble(org.apache.activemq.artemis.api.core.ActiveMQBuffer message, double value)static voidbytesWriteFloat(org.apache.activemq.artemis.api.core.ActiveMQBuffer message, float value)static voidbytesWriteInt(org.apache.activemq.artemis.api.core.ActiveMQBuffer message, int value)static voidbytesWriteLong(org.apache.activemq.artemis.api.core.ActiveMQBuffer message, long value)static booleanbytesWriteObject(org.apache.activemq.artemis.api.core.ActiveMQBuffer message, java.lang.Object value)Returns true if it could send the Object to any known formatstatic voidbytesWriteShort(org.apache.activemq.artemis.api.core.ActiveMQBuffer message, short value)static voidbytesWriteUTF(org.apache.activemq.artemis.api.core.ActiveMQBuffer message, java.lang.String value)-
Methods inherited from class org.apache.activemq.artemis.reader.MessageUtil
clearProperties, getIntProperty, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSReplyTo, getJMSType, getLongProperty, getObjectProperty, getPropertyNames, getStringProperty, propertyExists, setIntProperty, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSReplyTo, setJMSReplyTo, setJMSType, setLongProperty, setObjectProperty, setStringProperty
-
-
-
-
Method Detail
-
bytesReadBoolean
public static boolean bytesReadBoolean(org.apache.activemq.artemis.api.core.ActiveMQBuffer message)
-
bytesReadByte
public static byte bytesReadByte(org.apache.activemq.artemis.api.core.ActiveMQBuffer message)
-
bytesReadUnsignedByte
public static int bytesReadUnsignedByte(org.apache.activemq.artemis.api.core.ActiveMQBuffer message)
-
bytesReadShort
public static short bytesReadShort(org.apache.activemq.artemis.api.core.ActiveMQBuffer message)
-
bytesReadUnsignedShort
public static int bytesReadUnsignedShort(org.apache.activemq.artemis.api.core.ActiveMQBuffer message)
-
bytesReadChar
public static char bytesReadChar(org.apache.activemq.artemis.api.core.ActiveMQBuffer message)
-
bytesReadInt
public static int bytesReadInt(org.apache.activemq.artemis.api.core.ActiveMQBuffer message)
-
bytesReadLong
public static long bytesReadLong(org.apache.activemq.artemis.api.core.ActiveMQBuffer message)
-
bytesReadFloat
public static float bytesReadFloat(org.apache.activemq.artemis.api.core.ActiveMQBuffer message)
-
bytesReadDouble
public static double bytesReadDouble(org.apache.activemq.artemis.api.core.ActiveMQBuffer message)
-
bytesReadUTF
public static java.lang.String bytesReadUTF(org.apache.activemq.artemis.api.core.ActiveMQBuffer message)
-
bytesReadBytes
public static int bytesReadBytes(org.apache.activemq.artemis.api.core.ActiveMQBuffer message, byte[] value)
-
bytesReadBytes
public static int bytesReadBytes(org.apache.activemq.artemis.api.core.ActiveMQBuffer message, byte[] value, int length)
-
bytesWriteBoolean
public static void bytesWriteBoolean(org.apache.activemq.artemis.api.core.ActiveMQBuffer message, boolean value)
-
bytesWriteByte
public static void bytesWriteByte(org.apache.activemq.artemis.api.core.ActiveMQBuffer message, byte value)
-
bytesWriteShort
public static void bytesWriteShort(org.apache.activemq.artemis.api.core.ActiveMQBuffer message, short value)
-
bytesWriteChar
public static void bytesWriteChar(org.apache.activemq.artemis.api.core.ActiveMQBuffer message, char value)
-
bytesWriteInt
public static void bytesWriteInt(org.apache.activemq.artemis.api.core.ActiveMQBuffer message, int value)
-
bytesWriteLong
public static void bytesWriteLong(org.apache.activemq.artemis.api.core.ActiveMQBuffer message, long value)
-
bytesWriteFloat
public static void bytesWriteFloat(org.apache.activemq.artemis.api.core.ActiveMQBuffer message, float value)
-
bytesWriteDouble
public static void bytesWriteDouble(org.apache.activemq.artemis.api.core.ActiveMQBuffer message, double value)
-
bytesWriteUTF
public static void bytesWriteUTF(org.apache.activemq.artemis.api.core.ActiveMQBuffer message, java.lang.String value)
-
bytesWriteBytes
public static void bytesWriteBytes(org.apache.activemq.artemis.api.core.ActiveMQBuffer message, byte[] value)
-
bytesWriteBytes
public static void bytesWriteBytes(org.apache.activemq.artemis.api.core.ActiveMQBuffer message, byte[] value, int offset, int length)
-
bytesWriteObject
public static boolean bytesWriteObject(org.apache.activemq.artemis.api.core.ActiveMQBuffer message, java.lang.Object value)Returns true if it could send the Object to any known format- Parameters:
message-value-- Returns:
-
bytesMessageReset
public static void bytesMessageReset(org.apache.activemq.artemis.api.core.ActiveMQBuffer message)
-
-