public class BytesMessageUtil extends MessageUtil
CONNECTION_ID_PROPERTY_NAME, CORRELATIONID_HEADER_NAME, JMS, JMS_, JMSX, JMSXDELIVERYCOUNT, JMSXGROUPID, JMSXGROUPSEQ, JMSXUSERID, REPLYTO_HEADER_NAME, TYPE_HEADER_NAME
Constructor and Description |
---|
BytesMessageUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
bytesMessageReset(org.apache.activemq.artemis.api.core.ActiveMQBuffer message) |
static boolean |
bytesReadBoolean(org.apache.activemq.artemis.api.core.ActiveMQBuffer message) |
static byte |
bytesReadByte(org.apache.activemq.artemis.api.core.ActiveMQBuffer message) |
static int |
bytesReadBytes(org.apache.activemq.artemis.api.core.ActiveMQBuffer message,
byte[] value) |
static int |
bytesReadBytes(org.apache.activemq.artemis.api.core.ActiveMQBuffer message,
byte[] value,
int length) |
static char |
bytesReadChar(org.apache.activemq.artemis.api.core.ActiveMQBuffer message) |
static double |
bytesReadDouble(org.apache.activemq.artemis.api.core.ActiveMQBuffer message) |
static float |
bytesReadFloat(org.apache.activemq.artemis.api.core.ActiveMQBuffer message) |
static int |
bytesReadInt(org.apache.activemq.artemis.api.core.ActiveMQBuffer message) |
static long |
bytesReadLong(org.apache.activemq.artemis.api.core.ActiveMQBuffer message) |
static short |
bytesReadShort(org.apache.activemq.artemis.api.core.ActiveMQBuffer message) |
static int |
bytesReadUnsignedByte(org.apache.activemq.artemis.api.core.ActiveMQBuffer message) |
static int |
bytesReadUnsignedShort(org.apache.activemq.artemis.api.core.ActiveMQBuffer message) |
static String |
bytesReadUTF(org.apache.activemq.artemis.api.core.ActiveMQBuffer message) |
static void |
bytesWriteBoolean(org.apache.activemq.artemis.api.core.ActiveMQBuffer message,
boolean value) |
static void |
bytesWriteByte(org.apache.activemq.artemis.api.core.ActiveMQBuffer message,
byte value) |
static void |
bytesWriteBytes(org.apache.activemq.artemis.api.core.ActiveMQBuffer message,
byte[] value) |
static void |
bytesWriteBytes(org.apache.activemq.artemis.api.core.ActiveMQBuffer message,
byte[] value,
int offset,
int length) |
static void |
bytesWriteChar(org.apache.activemq.artemis.api.core.ActiveMQBuffer message,
char value) |
static void |
bytesWriteDouble(org.apache.activemq.artemis.api.core.ActiveMQBuffer message,
double value) |
static void |
bytesWriteFloat(org.apache.activemq.artemis.api.core.ActiveMQBuffer message,
float value) |
static void |
bytesWriteInt(org.apache.activemq.artemis.api.core.ActiveMQBuffer message,
int value) |
static void |
bytesWriteLong(org.apache.activemq.artemis.api.core.ActiveMQBuffer message,
long value) |
static boolean |
bytesWriteObject(org.apache.activemq.artemis.api.core.ActiveMQBuffer message,
Object value)
Returns true if it could send the Object to any known format
|
static void |
bytesWriteShort(org.apache.activemq.artemis.api.core.ActiveMQBuffer message,
short value) |
static void |
bytesWriteUTF(org.apache.activemq.artemis.api.core.ActiveMQBuffer message,
String value) |
clearProperties, getIntProperty, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSReplyTo, getJMSType, getLongProperty, getObjectProperty, getPropertyNames, getStringProperty, propertyExists, setIntProperty, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSReplyTo, setJMSReplyTo, setJMSType, setLongProperty, setObjectProperty, setStringProperty
public static boolean bytesReadBoolean(org.apache.activemq.artemis.api.core.ActiveMQBuffer message)
public static byte bytesReadByte(org.apache.activemq.artemis.api.core.ActiveMQBuffer message)
public static int bytesReadUnsignedByte(org.apache.activemq.artemis.api.core.ActiveMQBuffer message)
public static short bytesReadShort(org.apache.activemq.artemis.api.core.ActiveMQBuffer message)
public static int bytesReadUnsignedShort(org.apache.activemq.artemis.api.core.ActiveMQBuffer message)
public static char bytesReadChar(org.apache.activemq.artemis.api.core.ActiveMQBuffer message)
public static int bytesReadInt(org.apache.activemq.artemis.api.core.ActiveMQBuffer message)
public static long bytesReadLong(org.apache.activemq.artemis.api.core.ActiveMQBuffer message)
public static float bytesReadFloat(org.apache.activemq.artemis.api.core.ActiveMQBuffer message)
public static double bytesReadDouble(org.apache.activemq.artemis.api.core.ActiveMQBuffer message)
public static String bytesReadUTF(org.apache.activemq.artemis.api.core.ActiveMQBuffer message)
public static int bytesReadBytes(org.apache.activemq.artemis.api.core.ActiveMQBuffer message, byte[] value)
public static int bytesReadBytes(org.apache.activemq.artemis.api.core.ActiveMQBuffer message, byte[] value, int length)
public static void bytesWriteBoolean(org.apache.activemq.artemis.api.core.ActiveMQBuffer message, boolean value)
public static void bytesWriteByte(org.apache.activemq.artemis.api.core.ActiveMQBuffer message, byte value)
public static void bytesWriteShort(org.apache.activemq.artemis.api.core.ActiveMQBuffer message, short value)
public static void bytesWriteChar(org.apache.activemq.artemis.api.core.ActiveMQBuffer message, char value)
public static void bytesWriteInt(org.apache.activemq.artemis.api.core.ActiveMQBuffer message, int value)
public static void bytesWriteLong(org.apache.activemq.artemis.api.core.ActiveMQBuffer message, long value)
public static void bytesWriteFloat(org.apache.activemq.artemis.api.core.ActiveMQBuffer message, float value)
public static void bytesWriteDouble(org.apache.activemq.artemis.api.core.ActiveMQBuffer message, double value)
public static void bytesWriteUTF(org.apache.activemq.artemis.api.core.ActiveMQBuffer message, String value)
public static void bytesWriteBytes(org.apache.activemq.artemis.api.core.ActiveMQBuffer message, byte[] value)
public static void bytesWriteBytes(org.apache.activemq.artemis.api.core.ActiveMQBuffer message, byte[] value, int offset, int length)
public static boolean bytesWriteObject(org.apache.activemq.artemis.api.core.ActiveMQBuffer message, Object value)
message
- value
- public static void bytesMessageReset(org.apache.activemq.artemis.api.core.ActiveMQBuffer message)
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.