站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 3.2.7 j2ee API Documentation 英文版文档

MessageProducer (JBoss J2EE API) - JBoss 3.2.7 j2ee API Documentation 英文版文档


javax.jms
Interface MessageProducer

All Known Subinterfaces:
QueueSender, TopicPublisher

public interface MessageProducer

Version:
$Revision: 1.1 $
Author:
Chris Kimpton (chris@kimptoc.net)

Method Summary
 void close()
           
 int getDeliveryMode()
           
 boolean getDisableMessageID()
           
 boolean getDisableMessageTimestamp()
           
 int getPriority()
           
 long getTimeToLive()
           
 void setDeliveryMode(int deliveryMode)
           
 void setDisableMessageID(boolean value)
           
 void setDisableMessageTimestamp(boolean value)
           
 void setPriority(int defaultPriorityFromLow0High9)
           
 void setTimeToLive(long timeToLiveInMilliseconds)
           
 

Method Detail

setDisableMessageID

public void setDisableMessageID(boolean value)
                         throws JMSException
Throws:
JMSException

getDisableMessageID

public boolean getDisableMessageID()
                            throws JMSException
Throws:
JMSException

setDisableMessageTimestamp

public void setDisableMessageTimestamp(boolean value)
                                throws JMSException
Throws:
JMSException

getDisableMessageTimestamp

public boolean getDisableMessageTimestamp()
                                   throws JMSException
Throws:
JMSException

setDeliveryMode

public void setDeliveryMode(int deliveryMode)
                     throws JMSException
Throws:
JMSException

getDeliveryMode

public int getDeliveryMode()
                    throws JMSException
Throws:
JMSException

setPriority

public void setPriority(int defaultPriorityFromLow0High9)
                 throws JMSException
Throws:
JMSException

getPriority

public int getPriority()
                throws JMSException
Throws:
JMSException

setTimeToLive

public void setTimeToLive(long timeToLiveInMilliseconds)
                   throws JMSException
Throws:
JMSException

getTimeToLive

public long getTimeToLive()
                   throws JMSException
Throws:
JMSException

close

public void close()
           throws JMSException
Throws:
JMSException


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.