public interface Message
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_DELIVERY_MODE |
static int |
DEFAULT_PRIORITY |
static long |
DEFAULT_TIME_TO_LIVE |
Modifier and Type | Method and Description |
---|---|
void |
acknowledge() |
void |
clearBody() |
void |
clearProperties() |
boolean |
getBooleanProperty(java.lang.String name) |
byte |
getByteProperty(java.lang.String name) |
double |
getDoubleProperty(java.lang.String name) |
float |
getFloatProperty(java.lang.String name) |
int |
getIntProperty(java.lang.String name) |
java.lang.String |
getJMSCorrelationID() |
byte[] |
getJMSCorrelationIDAsBytes() |
int |
getJMSDeliveryMode() |
Destination |
getJMSDestination() |
long |
getJMSExpiration() |
java.lang.String |
getJMSMessageID() |
int |
getJMSPriority() |
boolean |
getJMSRedelivered() |
Destination |
getJMSReplyTo() |
long |
getJMSTimestamp() |
java.lang.String |
getJMSType() |
long |
getLongProperty(java.lang.String name) |
java.lang.Object |
getObjectProperty(java.lang.String name) |
java.util.Enumeration |
getPropertyNames() |
short |
getShortProperty(java.lang.String name) |
java.lang.String |
getStringProperty(java.lang.String name) |
boolean |
propertyExists(java.lang.String name) |
void |
setBooleanProperty(java.lang.String name,
boolean value) |
void |
setByteProperty(java.lang.String name,
byte value) |
void |
setDoubleProperty(java.lang.String name,
double value) |
void |
setFloatProperty(java.lang.String name,
float value) |
void |
setIntProperty(java.lang.String name,
int value) |
void |
setJMSCorrelationID(java.lang.String id) |
void |
setJMSCorrelationIDAsBytes(byte[] value) |
void |
setJMSDeliveryMode(int deliveryMode) |
void |
setJMSDestination(Destination replyTo) |
void |
setJMSExpiration(long expiration) |
void |
setJMSMessageID(java.lang.String id) |
void |
setJMSPriority(int expiration) |
void |
setJMSRedelivered(boolean isRedelivered) |
void |
setJMSReplyTo(Destination replyTo) |
void |
setJMSTimestamp(long timestamp) |
void |
setJMSType(java.lang.String type) |
void |
setLongProperty(java.lang.String name,
long value) |
void |
setObjectProperty(java.lang.String name,
java.lang.Object value) |
void |
setShortProperty(java.lang.String name,
short value) |
void |
setStringProperty(java.lang.String name,
java.lang.String value) |
static final int DEFAULT_DELIVERY_MODE
static final int DEFAULT_PRIORITY
static final long DEFAULT_TIME_TO_LIVE
java.lang.String getJMSMessageID() throws JMSException
JMSException
void setJMSMessageID(java.lang.String id) throws JMSException
JMSException
long getJMSTimestamp() throws JMSException
JMSException
void setJMSTimestamp(long timestamp) throws JMSException
JMSException
byte[] getJMSCorrelationIDAsBytes() throws JMSException
JMSException
void setJMSCorrelationIDAsBytes(byte[] value) throws JMSException
JMSException
java.lang.String getJMSCorrelationID() throws JMSException
JMSException
void setJMSCorrelationID(java.lang.String id) throws JMSException
JMSException
Destination getJMSReplyTo() throws JMSException
JMSException
void setJMSReplyTo(Destination replyTo) throws JMSException
JMSException
Destination getJMSDestination() throws JMSException
JMSException
void setJMSDestination(Destination replyTo) throws JMSException
JMSException
int getJMSDeliveryMode() throws JMSException
JMSException
void setJMSDeliveryMode(int deliveryMode) throws JMSException
JMSException
boolean getJMSRedelivered() throws JMSException
JMSException
void setJMSRedelivered(boolean isRedelivered) throws JMSException
JMSException
java.lang.String getJMSType() throws JMSException
JMSException
void setJMSType(java.lang.String type) throws JMSException
JMSException
long getJMSExpiration() throws JMSException
JMSException
void setJMSExpiration(long expiration) throws JMSException
JMSException
int getJMSPriority() throws JMSException
JMSException
void setJMSPriority(int expiration) throws JMSException
JMSException
void clearProperties() throws JMSException
JMSException
boolean propertyExists(java.lang.String name) throws JMSException
JMSException
boolean getBooleanProperty(java.lang.String name) throws JMSException
JMSException
byte getByteProperty(java.lang.String name) throws JMSException
JMSException
short getShortProperty(java.lang.String name) throws JMSException
JMSException
int getIntProperty(java.lang.String name) throws JMSException
JMSException
long getLongProperty(java.lang.String name) throws JMSException
JMSException
float getFloatProperty(java.lang.String name) throws JMSException
JMSException
double getDoubleProperty(java.lang.String name) throws JMSException
JMSException
java.lang.String getStringProperty(java.lang.String name) throws JMSException
JMSException
java.lang.Object getObjectProperty(java.lang.String name) throws JMSException
JMSException
java.util.Enumeration getPropertyNames() throws JMSException
JMSException
void setBooleanProperty(java.lang.String name, boolean value) throws JMSException
JMSException
void setByteProperty(java.lang.String name, byte value) throws JMSException
JMSException
void setShortProperty(java.lang.String name, short value) throws JMSException
JMSException
void setIntProperty(java.lang.String name, int value) throws JMSException
JMSException
void setLongProperty(java.lang.String name, long value) throws JMSException
JMSException
void setFloatProperty(java.lang.String name, float value) throws JMSException
JMSException
void setDoubleProperty(java.lang.String name, double value) throws JMSException
JMSException
void setStringProperty(java.lang.String name, java.lang.String value) throws JMSException
JMSException
void setObjectProperty(java.lang.String name, java.lang.Object value) throws JMSException
JMSException
void acknowledge() throws JMSException
JMSException
void clearBody() throws JMSException
JMSException