32.2. Interface Definition
package javax.jms; public interface MessageProducer { void close() throws JMSException; int getDeliveryMode() throws JMSException; boolean getDisableMessageID() throws JMSException; boolean getDisableMessageTimestamp() throws JMSException; int getPriority() throws JMSException; long getTimeToLive() throws JMSException; void setDeliveryMode(int deliveryMode) throws JMSException; void setDisableMessageID(boolean value) throws JMSException; void setDisableMessageTimestamp(boolean value) throws JMSException; void setPriority(int defaultPriority) throws JMSException; void setTimeToLive(long timeToLive) 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.