|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.jms.connection.MessageProducerImpl
com.caucho.jms.connection.TopicPublisherImpl
public class TopicPublisherImpl
A basic topic.
| Field Summary |
|---|
| Fields inherited from class com.caucho.jms.connection.MessageProducerImpl |
|---|
_queue, _session, DEFAULT_TIME_TO_LIVE |
| Constructor Summary | |
|---|---|
TopicPublisherImpl(JmsSession session,
AbstractTopic topic)
|
|
| Method Summary | |
|---|---|
Topic |
getTopic()
Returns the topic |
void |
publish(Message message)
Publishes a message to the topic |
void |
publish(Message message,
int deliveryMode,
int priority,
long timeToLive)
Publishes a message to the topic |
void |
publish(Topic topic,
Message message)
Publishes a message to the topic |
void |
publish(Topic topic,
Message message,
int deliveryMode,
int priority,
long timeToLive)
Publishes a message to the topic |
| Methods inherited from class com.caucho.jms.connection.MessageProducerImpl |
|---|
calculateExpiration, close, getDeliveryMode, getDestination, getDisableMessageID, getDisableMessageTimestamp, getPriority, getTimeToLive, send, send, send, send, setDeliveryMode, setDisableMessageID, setDisableMessageTimestamp, setPriority, setTimeToLive, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface javax.jms.MessageProducer |
|---|
close, getDeliveryMode, getDestination, getDisableMessageID, getDisableMessageTimestamp, getPriority, getTimeToLive, send, send, send, send, setDeliveryMode, setDisableMessageID, setDisableMessageTimestamp, setPriority, setTimeToLive |
| Constructor Detail |
|---|
public TopicPublisherImpl(JmsSession session,
AbstractTopic topic)
| Method Detail |
|---|
public Topic getTopic()
throws JMSException
getTopic in interface TopicPublisherJMSException
public void publish(Message message)
throws JMSException
publish in interface TopicPublishermessage - the message to publish
JMSException
public void publish(Message message,
int deliveryMode,
int priority,
long timeToLive)
throws JMSException
publish in interface TopicPublishermessage - the message to publishdeliveryMode - the delivery modepriority - the prioritytimeToLive - how long the message should live
JMSException
public void publish(Topic topic,
Message message)
throws JMSException
publish in interface TopicPublishertopic - the topic the message should be publish tomessage - the message to publish
JMSException
public void publish(Topic topic,
Message message,
int deliveryMode,
int priority,
long timeToLive)
throws JMSException
publish in interface TopicPublishertopic - the topic the message should be publish tomessage - the message to publishdeliveryMode - the delivery modepriority - the prioritytimeToLive - how long the message should live
JMSException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||