25.2. Interface Definition
package javax.jms; public interface Message { // Fields static final int DEFAULT_DELIVERY_MODE = DeliveryMode.PERSISTENT; static final int DEFAULT_PRIORITY = 4; static final long DEFAULT_TIME_TO_LIVE = 0; // Methods void acknowledge() throws JMSException; void clearBody() throws JMSException; void clearProperties() throws JMSException; boolean getBooleanProperty(String name) throws JMSException; byte getByteProperty(String name) throws JMSException; double getDoubleProperty(String name) throws JMSException; float getFloatProperty(String name) throws JMSException; int getIntProperty(String name) throws JMSException; String getJMSCorrelationID() throws JMSException; byte [] getJMSCorrelationIDAsBytes() throws JMSException; ...
Get Java™ Message Service API Tutorial and Reference: Messaging for the J2EE™ Platform now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.