public class StreamMessageUtil extends MessageUtil
CONNECTION_ID_PROPERTY_NAME, CORRELATIONID_HEADER_NAME, JMS, JMS_, JMSX, JMSXDELIVERYCOUNT, JMSXGROUPID, JMSXUSERID, REPLYTO_HEADER_NAME, TYPE_HEADER_NAME
Constructor and Description |
---|
StreamMessageUtil() |
Modifier and Type | Method and Description |
---|---|
static boolean |
streamReadBoolean(ActiveMQBuffer buff)
Method to read boolean values out of the Stream protocol existent on JMS Stream Messages
Throws IllegalStateException if the type was invalid
|
static byte |
streamReadByte(ActiveMQBuffer buff) |
static Pair<Integer,Integer> |
streamReadBytes(ActiveMQBuffer buff,
int remainingBytes,
byte[] value)
Utility for reading bytes out of streaming.
|
static char |
streamReadChar(ActiveMQBuffer buff) |
static double |
streamReadDouble(ActiveMQBuffer buff) |
static float |
streamReadFloat(ActiveMQBuffer buff) |
static int |
streamReadInteger(ActiveMQBuffer buff) |
static long |
streamReadLong(ActiveMQBuffer buff) |
static Object |
streamReadObject(ActiveMQBuffer buff) |
static short |
streamReadShort(ActiveMQBuffer buff) |
static String |
streamReadString(ActiveMQBuffer buff) |
clearProperties, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSReplyTo, getJMSType, getPropertyNames, propertyExists, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSReplyTo, setJMSReplyTo, setJMSType
public static boolean streamReadBoolean(ActiveMQBuffer buff)
buff
- public static byte streamReadByte(ActiveMQBuffer buff)
public static short streamReadShort(ActiveMQBuffer buff)
public static char streamReadChar(ActiveMQBuffer buff)
public static int streamReadInteger(ActiveMQBuffer buff)
public static long streamReadLong(ActiveMQBuffer buff)
public static float streamReadFloat(ActiveMQBuffer buff)
public static double streamReadDouble(ActiveMQBuffer buff)
public static String streamReadString(ActiveMQBuffer buff)
public static Pair<Integer,Integer> streamReadBytes(ActiveMQBuffer buff, int remainingBytes, byte[] value)
remainingBytes
- remaining Bytes from previous read. Send it to 0 if it was the first call for the messagebuff
- public static Object streamReadObject(ActiveMQBuffer buff)
Copyright © 2019 JBoss by Red Hat. All rights reserved.