|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.j_spaces.core.client.MetaDataEntry
com.j_spaces.jms.GSMessageImpl
public class GSMessageImpl
| Field Summary | |
|---|---|
Object |
Body
Message body |
static String |
BODY_STR_NAME
|
static String |
BYTES
A bytes message carries an array of bytes. |
String |
DestinationName
Routing index. |
static String |
JMS_CORRELATION_ID
|
static String |
JMS_DELIVERY_MODE
|
static String |
JMS_DESTINATION
|
static String |
JMS_EXPIRATION
|
static String |
JMS_GSCONNECTION_KEY_NAME
|
static String |
JMS_GSCONVERTER
|
static String |
JMS_GSPRODUCER_KEY_PROP_NAME
|
static String |
JMS_GSTTL_KEY_PROP_NAME
|
static String |
JMS_MESSAGE_ID
|
static String |
JMS_PRIORITY
|
static String |
JMS_REDELIVERED
|
static String |
JMS_REPLY_TO
|
static String |
JMS_TIMESTAMP
|
static String |
JMS_TYPE
|
Object |
JMSCorrelationID
JMSCorrelationID header |
Integer |
JMSDeliveryMode
JMSDeliveryMode header |
Destination |
JMSDestination
JMSDestination header |
Long |
JMSExpiration
JMSExpiration header |
String |
JMSMessageID
JMSMessageID header |
Integer |
JMSPriority
JMSPriority header |
Boolean |
JMSRedelivered
JMSRedelivered header |
Destination |
JMSReplyTo
JMSReplyTo header |
Long |
JMSTimestamp
JMSTimestamp header |
String |
JMSType
JMSType header |
static String |
JMSX_GROUPID
|
static String |
JMSX_GROUPSEQ
|
static String |
JMSX_USERID
|
static String |
MAP
A map message carries an hashtable. |
static String |
OBJECT
An object message carries a serializable object. |
Map<String,Object> |
Properties
Message properties |
static String |
PROPERTIES_STR_NAME
|
static String |
SIMPLE
A simple message carries a simple empty body. |
static String |
STREAM
A stream message carries a bytes stream. |
static String |
TEXT
A text message carries a String body. |
| Constructor Summary | |
|---|---|
GSMessageImpl()
Used internally only |
|
GSMessageImpl(GSSessionImpl session,
String type)
Constructs a new GSMessageImpl instance. |
|
| Methods inherited from class com.j_spaces.core.client.MetaDataEntry |
|---|
__getEntryInfo, __setEntryInfo, isFifo, isNOWriteLeaseMode, isTransient, makePersistent, makeTransient, setFifo, setNOWriteLeaseMode |
| Methods inherited from class java.lang.Object |
|---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public String DestinationName
public Object Body
public Destination JMSDestination
public Integer JMSDeliveryMode
public Long JMSExpiration
public Integer JMSPriority
public String JMSMessageID
public Long JMSTimestamp
public Object JMSCorrelationID
public Destination JMSReplyTo
public String JMSType
public Boolean JMSRedelivered
public Map<String,Object> Properties
public static final String SIMPLE
public static final String TEXT
public static final String OBJECT
public static final String MAP
public static final String STREAM
public static final String BYTES
public static final String BODY_STR_NAME
public static final String JMS_DESTINATION
public static final String JMS_DELIVERY_MODE
public static final String JMS_EXPIRATION
public static final String JMS_PRIORITY
public static final String JMS_MESSAGE_ID
public static final String JMS_TIMESTAMP
public static final String JMS_CORRELATION_ID
public static final String JMS_REPLY_TO
public static final String JMS_TYPE
public static final String JMS_REDELIVERED
public static final String JMS_GSPRODUCER_KEY_PROP_NAME
public static final String JMS_GSTTL_KEY_PROP_NAME
public static final String JMSX_GROUPID
public static final String JMSX_GROUPSEQ
public static final String JMSX_USERID
public static final String PROPERTIES_STR_NAME
public static final String JMS_GSCONNECTION_KEY_NAME
public static final String JMS_GSCONVERTER
| Constructor Detail |
|---|
public GSMessageImpl()
public GSMessageImpl(GSSessionImpl session,
String type)
throws JMSException
session - The sessiontype - The message type
JMSException| Method Detail |
|---|
public static String[] __getSpaceIndexedFields()
public void setRoutingIndexes(String[] indexes)
public void acknowledge()
throws JMSException
JMSExceptionMessage.acknowledge()public void setDestinationName(String name)
public String getDestinationName()
public void clearBody()
throws JMSException
JMSExceptionMessage.clearBody()
public void setJMSCorrelationID(String value)
throws JMSException
JMSExceptionMessage.setJMSCorrelationID(java.lang.String)
public String getJMSCorrelationID()
throws JMSException
JMSExceptionMessage.getJMSCorrelationID()
public void setJMSCorrelationIDAsBytes(byte[] value)
throws JMSException
JMSExceptionMessage.setJMSCorrelationIDAsBytes(byte[])
public byte[] getJMSCorrelationIDAsBytes()
throws JMSException
JMSExceptionMessage.getJMSCorrelationIDAsBytes()
public void setJMSDeliveryMode(int value)
throws JMSException
JMSExceptionMessage.setJMSDeliveryMode(int)
public int getJMSDeliveryMode()
throws JMSException
JMSExceptionMessage.getJMSDeliveryMode()
public void setJMSDestination(Destination value)
throws JMSException
JMSExceptionMessage.setJMSDestination(javax.jms.Destination)
public Destination getJMSDestination()
throws JMSException
JMSExceptionMessage.getJMSDestination()
public void setJMSExpiration(long value)
throws JMSException
JMSExceptionMessage.setJMSExpiration(long)
public long getJMSExpiration()
throws JMSException
JMSExceptionMessage.getJMSExpiration()
public void setJMSMessageID(String value)
throws JMSException
JMSExceptionMessage.setJMSMessageID(java.lang.String)
public String getJMSMessageID()
throws JMSException
JMSExceptionMessage.getJMSMessageID()
public void setJMSPriority(int priority)
throws JMSException
JMSExceptionMessage.setJMSPriority(int)
public int getJMSPriority()
throws JMSException
JMSExceptionMessage.getJMSPriority()
public void setJMSRedelivered(boolean redelivered)
throws JMSException
JMSExceptionMessage.setJMSRedelivered(boolean)
public boolean getJMSRedelivered()
throws JMSException
JMSExceptionMessage.getJMSRedelivered()
public void setJMSReplyTo(Destination destination)
throws JMSException
JMSExceptionMessage.setJMSReplyTo(javax.jms.Destination)
public Destination getJMSReplyTo()
throws JMSException
JMSExceptionMessage.getJMSReplyTo()
public void setJMSTimestamp(long timestamp)
throws JMSException
JMSExceptionMessage.setJMSTimestamp(long)
public long getJMSTimestamp()
throws JMSException
JMSExceptionMessage.getJMSTimestamp()
public void setJMSType(String type)
throws JMSException
JMSExceptionMessage.setJMSType(java.lang.String)
public String getJMSType()
throws JMSException
JMSExceptionMessage.getJMSType()
public void clearProperties()
throws JMSException
JMSExceptionMessage.clearProperties()
public Enumeration getPropertyNames()
throws JMSException
JMSExceptionMessage.getPropertyNames()
public boolean propertyExists(String name)
throws JMSException
JMSExceptionMessage.propertyExists(java.lang.String)
public boolean getBooleanProperty(String name)
throws JMSException
JMSExceptionMessage.getBooleanProperty(java.lang.String)
public byte getByteProperty(String name)
throws JMSException
JMSExceptionMessage.getByteProperty(java.lang.String)
public double getDoubleProperty(String name)
throws JMSException
JMSExceptionMessage.getDoubleProperty(java.lang.String)
public float getFloatProperty(String name)
throws JMSException
JMSExceptionMessage.getFloatProperty(java.lang.String)
public int getIntProperty(String name)
throws JMSException
JMSExceptionMessage.getIntProperty(java.lang.String)
public long getLongProperty(String name)
throws JMSException
JMSExceptionMessage.getLongProperty(java.lang.String)
public Object getObjectProperty(String name)
throws JMSException
JMSExceptionMessage.getObjectProperty(java.lang.String)
public short getShortProperty(String name)
throws JMSException
JMSExceptionMessage.getShortProperty(java.lang.String)
public String getStringProperty(String name)
throws JMSException
JMSExceptionMessage.getStringProperty(java.lang.String)
public void setBooleanProperty(String name,
boolean value)
throws JMSException
JMSExceptionMessage.setBooleanProperty(java.lang.String, boolean)
public void setByteProperty(String name,
byte value)
throws JMSException
JMSExceptionMessage.setByteProperty(java.lang.String, byte)
public void setDoubleProperty(String name,
double value)
throws JMSException
JMSExceptionMessage.setDoubleProperty(java.lang.String, double)
public void setFloatProperty(String name,
float value)
throws JMSException
JMSExceptionMessage.setFloatProperty(java.lang.String, float)
public void setIntProperty(String name,
int value)
throws JMSException
JMSExceptionMessage.setIntProperty(java.lang.String, int)
public void setLongProperty(String name,
long value)
throws JMSException
JMSExceptionMessage.setLongProperty(java.lang.String, long)
public void setObjectProperty(String name,
Object value)
throws JMSException
JMSExceptionMessage.setObjectProperty(java.lang.String, java.lang.Object)
public void setShortProperty(String name,
short value)
throws JMSException
JMSExceptionMessage.setShortProperty(java.lang.String, short)
public void setStringProperty(String name,
String value)
throws JMSException
JMSExceptionMessage.setStringProperty(java.lang.String, java.lang.String)public boolean equals(Object o)
equals in class ObjectObject.equals(java.lang.Object)public int hashcode()
java.lang.Object#hashcode()public String toString()
toString in class ObjectObject.toString()public void setProperties(HashMap<String,Object> props)
props - the properties HashMap
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizableIOException
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizableIOException
ClassNotFoundException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||