javax.jms
Interface MessageProducer

All Known Subinterfaces:
QueueSender, TopicPublisher

public interface MessageProducer

Version:
$Rev: 46019 $ $Date: 2004-09-14 11:56:06 +0200 (Tue, 14 Sep 2004) $

Method Summary
 void close()
           
 int getDeliveryMode()
           
 Destination getDestination()
           
 boolean getDisableMessageID()
           
 boolean getDisableMessageTimestamp()
           
 int getPriority()
           
 long getTimeToLive()
           
 void send(Destination destination, Message message)
           
 void send(Destination destination, Message message, int deliveryMode, int priority, long timeToLive)
           
 void send(Message message)
           
 void send(Message message, int deliveryMode, int priority, long timeToLive)
           
 void setDeliveryMode(int deliveryMode)
           
 void setDisableMessageID(boolean value)
           
 void setDisableMessageTimestamp(boolean value)
           
 void setPriority(int defaultPriority)
           
 void setTimeToLive(long timeToLive)
           
 

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 defaultPriority)
                 throws JMSException
Throws:
JMSException

getPriority

public int getPriority()
                throws JMSException
Throws:
JMSException

setTimeToLive

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

getTimeToLive

public long getTimeToLive()
                   throws JMSException
Throws:
JMSException

getDestination

public Destination getDestination()
                           throws JMSException
Throws:
JMSException

close

public void close()
           throws JMSException
Throws:
JMSException

send

public void send(Message message)
          throws JMSException
Throws:
JMSException

send

public void send(Message message,
                 int deliveryMode,
                 int priority,
                 long timeToLive)
          throws JMSException
Throws:
JMSException

send

public void send(Destination destination,
                 Message message)
          throws JMSException
Throws:
JMSException

send

public void send(Destination destination,
                 Message message,
                 int deliveryMode,
                 int priority,
                 long timeToLive)
          throws JMSException
Throws:
JMSException


Copyright © {inceptionYear}-2007 null. All Rights Reserved.