|
|||||||||
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, 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
JMSException
Message.acknowledge()
public void setDestinationName(String name)
public String getDestinationName()
public void clearBody() throws JMSException
JMSException
Message.clearBody()
public void setJMSCorrelationID(String value) throws JMSException
JMSException
Message.setJMSCorrelationID(java.lang.String)
public String getJMSCorrelationID() throws JMSException
JMSException
Message.getJMSCorrelationID()
public void setJMSCorrelationIDAsBytes(byte[] value) throws JMSException
JMSException
Message.setJMSCorrelationIDAsBytes(byte[])
public byte[] getJMSCorrelationIDAsBytes() throws JMSException
JMSException
Message.getJMSCorrelationIDAsBytes()
public void setJMSDeliveryMode(int value) throws JMSException
JMSException
Message.setJMSDeliveryMode(int)
public int getJMSDeliveryMode() throws JMSException
JMSException
Message.getJMSDeliveryMode()
public void setJMSDestination(Destination value) throws JMSException
JMSException
Message.setJMSDestination(javax.jms.Destination)
public Destination getJMSDestination() throws JMSException
JMSException
Message.getJMSDestination()
public void setJMSExpiration(long value) throws JMSException
JMSException
Message.setJMSExpiration(long)
public long getJMSExpiration() throws JMSException
JMSException
Message.getJMSExpiration()
public void setJMSMessageID(String value) throws JMSException
JMSException
Message.setJMSMessageID(java.lang.String)
public String getJMSMessageID() throws JMSException
JMSException
Message.getJMSMessageID()
public void setJMSPriority(int priority) throws JMSException
JMSException
Message.setJMSPriority(int)
public int getJMSPriority() throws JMSException
JMSException
Message.getJMSPriority()
public void setJMSRedelivered(boolean redelivered) throws JMSException
JMSException
Message.setJMSRedelivered(boolean)
public boolean getJMSRedelivered() throws JMSException
JMSException
Message.getJMSRedelivered()
public void setJMSReplyTo(Destination destination) throws JMSException
JMSException
Message.setJMSReplyTo(javax.jms.Destination)
public Destination getJMSReplyTo() throws JMSException
JMSException
Message.getJMSReplyTo()
public void setJMSTimestamp(long timestamp) throws JMSException
JMSException
Message.setJMSTimestamp(long)
public long getJMSTimestamp() throws JMSException
JMSException
Message.getJMSTimestamp()
public void setJMSType(String type) throws JMSException
JMSException
Message.setJMSType(java.lang.String)
public String getJMSType() throws JMSException
JMSException
Message.getJMSType()
public void clearProperties() throws JMSException
JMSException
Message.clearProperties()
public Enumeration getPropertyNames() throws JMSException
JMSException
Message.getPropertyNames()
public boolean propertyExists(String name) throws JMSException
JMSException
Message.propertyExists(java.lang.String)
public boolean getBooleanProperty(String name) throws JMSException
JMSException
Message.getBooleanProperty(java.lang.String)
public byte getByteProperty(String name) throws JMSException
JMSException
Message.getByteProperty(java.lang.String)
public double getDoubleProperty(String name) throws JMSException
JMSException
Message.getDoubleProperty(java.lang.String)
public float getFloatProperty(String name) throws JMSException
JMSException
Message.getFloatProperty(java.lang.String)
public int getIntProperty(String name) throws JMSException
JMSException
Message.getIntProperty(java.lang.String)
public long getLongProperty(String name) throws JMSException
JMSException
Message.getLongProperty(java.lang.String)
public Object getObjectProperty(String name) throws JMSException
JMSException
Message.getObjectProperty(java.lang.String)
public short getShortProperty(String name) throws JMSException
JMSException
Message.getShortProperty(java.lang.String)
public String getStringProperty(String name) throws JMSException
JMSException
Message.getStringProperty(java.lang.String)
public void setBooleanProperty(String name, boolean value) throws JMSException
JMSException
Message.setBooleanProperty(java.lang.String, boolean)
public void setByteProperty(String name, byte value) throws JMSException
JMSException
Message.setByteProperty(java.lang.String, byte)
public void setDoubleProperty(String name, double value) throws JMSException
JMSException
Message.setDoubleProperty(java.lang.String, double)
public void setFloatProperty(String name, float value) throws JMSException
JMSException
Message.setFloatProperty(java.lang.String, float)
public void setIntProperty(String name, int value) throws JMSException
JMSException
Message.setIntProperty(java.lang.String, int)
public void setLongProperty(String name, long value) throws JMSException
JMSException
Message.setLongProperty(java.lang.String, long)
public void setObjectProperty(String name, Object value) throws JMSException
JMSException
Message.setObjectProperty(java.lang.String, java.lang.Object)
public void setShortProperty(String name, short value) throws JMSException
JMSException
Message.setShortProperty(java.lang.String, short)
public void setStringProperty(String name, String value) throws JMSException
JMSException
Message.setStringProperty(java.lang.String, java.lang.String)
public boolean equals(Object o)
equals
in class Object
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class Object
Object.hashCode()
public String toString()
toString
in class Object
Object.toString()
public void setProperties(HashMap<String,Object> props)
props
- the properties HashMappublic void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
Externalizable.writeExternal(java.io.ObjectOutput)
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
Externalizable.readExternal(java.io.ObjectInput)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |