public class BytesMessageUtil extends MessageUtil
CONNECTION_ID_PROPERTY_NAME, CORRELATIONID_HEADER_NAME, JMS, JMS_, JMSX, JMSXDELIVERYCOUNT, JMSXGROUPID, JMSXUSERID, REPLYTO_HEADER_NAME, TYPE_HEADER_NAME
Constructor and Description |
---|
BytesMessageUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
bytesMessageReset(ActiveMQBuffer message) |
static boolean |
bytesReadBoolean(ActiveMQBuffer message) |
static byte |
bytesReadByte(ActiveMQBuffer message) |
static int |
bytesReadBytes(ActiveMQBuffer message,
byte[] value) |
static int |
bytesReadBytes(ActiveMQBuffer message,
byte[] value,
int length) |
static char |
bytesReadChar(ActiveMQBuffer message) |
static double |
bytesReadDouble(ActiveMQBuffer message) |
static float |
bytesReadFloat(ActiveMQBuffer message) |
static int |
bytesReadInt(ActiveMQBuffer message) |
static long |
bytesReadLong(ActiveMQBuffer message) |
static short |
bytesReadShort(ActiveMQBuffer message) |
static int |
bytesReadUnsignedByte(ActiveMQBuffer message) |
static int |
bytesReadUnsignedShort(ActiveMQBuffer message) |
static String |
bytesReadUTF(ActiveMQBuffer message) |
static void |
bytesWriteBoolean(ActiveMQBuffer message,
boolean value) |
static void |
bytesWriteByte(ActiveMQBuffer message,
byte value) |
static void |
bytesWriteBytes(ActiveMQBuffer message,
byte[] value) |
static void |
bytesWriteBytes(ActiveMQBuffer message,
byte[] value,
int offset,
int length) |
static void |
bytesWriteChar(ActiveMQBuffer message,
char value) |
static void |
bytesWriteDouble(ActiveMQBuffer message,
double value) |
static void |
bytesWriteFloat(ActiveMQBuffer message,
float value) |
static void |
bytesWriteInt(ActiveMQBuffer message,
int value) |
static void |
bytesWriteLong(ActiveMQBuffer message,
long value) |
static boolean |
bytesWriteObject(ActiveMQBuffer message,
Object value)
Returns true if it could send the Object to any known format
|
static void |
bytesWriteShort(ActiveMQBuffer message,
short value) |
static void |
bytesWriteUTF(ActiveMQBuffer message,
String value) |
clearProperties, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSReplyTo, getJMSType, getPropertyNames, propertyExists, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSReplyTo, setJMSReplyTo, setJMSType
public static boolean bytesReadBoolean(ActiveMQBuffer message)
public static byte bytesReadByte(ActiveMQBuffer message)
public static int bytesReadUnsignedByte(ActiveMQBuffer message)
public static short bytesReadShort(ActiveMQBuffer message)
public static int bytesReadUnsignedShort(ActiveMQBuffer message)
public static char bytesReadChar(ActiveMQBuffer message)
public static int bytesReadInt(ActiveMQBuffer message)
public static long bytesReadLong(ActiveMQBuffer message)
public static float bytesReadFloat(ActiveMQBuffer message)
public static double bytesReadDouble(ActiveMQBuffer message)
public static String bytesReadUTF(ActiveMQBuffer message)
public static int bytesReadBytes(ActiveMQBuffer message, byte[] value)
public static int bytesReadBytes(ActiveMQBuffer message, byte[] value, int length)
public static void bytesWriteBoolean(ActiveMQBuffer message, boolean value)
public static void bytesWriteByte(ActiveMQBuffer message, byte value)
public static void bytesWriteShort(ActiveMQBuffer message, short value)
public static void bytesWriteChar(ActiveMQBuffer message, char value)
public static void bytesWriteInt(ActiveMQBuffer message, int value)
public static void bytesWriteLong(ActiveMQBuffer message, long value)
public static void bytesWriteFloat(ActiveMQBuffer message, float value)
public static void bytesWriteDouble(ActiveMQBuffer message, double value)
public static void bytesWriteUTF(ActiveMQBuffer message, String value)
public static void bytesWriteBytes(ActiveMQBuffer message, byte[] value)
public static void bytesWriteBytes(ActiveMQBuffer message, byte[] value, int offset, int length)
public static boolean bytesWriteObject(ActiveMQBuffer message, Object value)
message
- value
- public static void bytesMessageReset(ActiveMQBuffer message)
Copyright © 2019 JBoss by Red Hat. All rights reserved.