|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.messaging.jms.client.JBossMessage
org.jboss.messaging.jms.client.JBossObjectMessage
public class JBossObjectMessage
This class implements javax.jms.ObjectMessage Don't used ObjectMessage if you want good performance! Serialization is slooooow!
Field Summary | |
---|---|
static byte |
TYPE
|
Fields inherited from class org.jboss.messaging.jms.client.JBossMessage |
---|
body, JBOSS_MESSAGING_BRIDGE_MESSAGE_ID_LIST, message, readOnly |
Fields inherited from interface javax.jms.Message |
---|
DEFAULT_DELIVERY_MODE, DEFAULT_PRIORITY, DEFAULT_TIME_TO_LIVE |
Constructor Summary | |
---|---|
JBossObjectMessage()
|
|
JBossObjectMessage(ClientMessage message,
ClientSession session)
|
|
JBossObjectMessage(javax.jms.ObjectMessage foreign)
A copy constructor for foreign JMS ObjectMessages. |
Method Summary | |
---|---|
void |
clearBody()
|
void |
doBeforeSend()
|
java.io.Serializable |
getObject()
|
byte |
getType()
|
void |
setObject(java.io.Serializable object)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface javax.jms.Message |
---|
acknowledge, clearProperties, getBooleanProperty, getByteProperty, getDoubleProperty, getFloatProperty, getIntProperty, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSDeliveryMode, getJMSDestination, getJMSExpiration, getJMSMessageID, getJMSPriority, getJMSRedelivered, getJMSReplyTo, getJMSTimestamp, getJMSType, getLongProperty, getObjectProperty, getPropertyNames, getShortProperty, getStringProperty, propertyExists, setBooleanProperty, setByteProperty, setDoubleProperty, setFloatProperty, setIntProperty, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSDeliveryMode, setJMSDestination, setJMSExpiration, setJMSMessageID, setJMSPriority, setJMSRedelivered, setJMSReplyTo, setJMSTimestamp, setJMSType, setLongProperty, setObjectProperty, setShortProperty, setStringProperty |
Field Detail |
---|
public static final byte TYPE
Constructor Detail |
---|
public JBossObjectMessage()
public JBossObjectMessage(ClientMessage message, ClientSession session)
public JBossObjectMessage(javax.jms.ObjectMessage foreign) throws javax.jms.JMSException
javax.jms.JMSException
Method Detail |
---|
public byte getType()
getType
in class JBossMessage
public void doBeforeSend() throws java.lang.Exception
doBeforeSend
in class JBossMessage
java.lang.Exception
public void setObject(java.io.Serializable object) throws javax.jms.JMSException
setObject
in interface javax.jms.ObjectMessage
javax.jms.JMSException
public java.io.Serializable getObject() throws javax.jms.JMSException
getObject
in interface javax.jms.ObjectMessage
javax.jms.JMSException
public void clearBody() throws javax.jms.JMSException
clearBody
in interface javax.jms.Message
clearBody
in class JBossMessage
javax.jms.JMSException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |