KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > javax > jms > MessageProducer

javax.jms
Interface MessageProducer

All Known Subinterfaces:
QueueSender, TopicPublisher
See Also:
Top Examples, Source Code, Session.createProducer(javax.jms.Destination)

public void close()
           throws JMSException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getDeliveryMode()
                    throws JMSException
See Also:
setDeliveryMode(int)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Destination getDestination()
                           throws JMSException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean getDisableMessageID()
                            throws JMSException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean getDisableMessageTimestamp()
                                   throws JMSException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getPriority()
                throws JMSException
See Also:
setPriority(int)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public long getTimeToLive()
                   throws JMSException
See Also:
setTimeToLive(long)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void send(Destination destination,
                 Message message)
          throws JMSException
See Also:
MessageProducer, Session.createProducer(javax.jms.Destination), UnsupportedOperationException, InvalidDestinationException, MessageFormatException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void send(Destination destination,
                 Message message,
                 int deliveryMode,
                 int priority,
                 long timeToLive)
          throws JMSException
See Also:
Session.createProducer(javax.jms.Destination), InvalidDestinationException, MessageFormatException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void send(Message message)
          throws JMSException
See Also:
MessageProducer, Session.createProducer(javax.jms.Destination), UnsupportedOperationException, InvalidDestinationException, MessageFormatException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void send(Message message,
                 int deliveryMode,
                 int priority,
                 long timeToLive)
          throws JMSException
See Also:
Session.createProducer(javax.jms.Destination), UnsupportedOperationException, InvalidDestinationException, MessageFormatException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setDeliveryMode(int deliveryMode)
                     throws JMSException
See Also:
Message.DEFAULT_DELIVERY_MODE, DeliveryMode.PERSISTENT, DeliveryMode.NON_PERSISTENT, getDeliveryMode()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setDisableMessageID(boolean value)
                         throws JMSException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setDisableMessageTimestamp(boolean value)
                                throws JMSException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setPriority(int defaultPriority)
                 throws JMSException
See Also:
Message.DEFAULT_PRIORITY, getPriority()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setTimeToLive(long timeToLive)
                   throws JMSException
See Also:
Message.DEFAULT_TIME_TO_LIVE, getTimeToLive()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags