javax.jms
Interface TopicPublisher

All Superinterfaces:
MessageProducer
All Known Implementing Classes:
TopicPublisherImpl

public interface TopicPublisher
extends MessageProducer

The main destination.


Method Summary
 Topic getTopic()
           
 void publish(Message message)
           
 void publish(Message message, int deliveryMode, int priority, long timeToLive)
           
 void publish(Topic topic, Message message)
           
 void publish(Topic topic, Message message, int deliveryMode, int priority, long timeToLive)
           
 
Methods inherited from interface javax.jms.MessageProducer
close, getDeliveryMode, getDestination, getDisableMessageID, getDisableMessageTimestamp, getPriority, getTimeToLive, send, send, send, send, setDeliveryMode, setDisableMessageID, setDisableMessageTimestamp, setPriority, setTimeToLive
 

Method Detail

getTopic

Topic getTopic()
               throws JMSException
Throws:
JMSException

publish

void publish(Message message)
             throws JMSException
Throws:
JMSException

publish

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

publish

void publish(Topic topic,
             Message message)
             throws JMSException
Throws:
JMSException

publish

void publish(Topic topic,
             Message message,
             int deliveryMode,
             int priority,
             long timeToLive)
             throws JMSException
Throws:
JMSException