java.lang.Object | +----com.ibm.mq.jms.MQMessageProducer | +----com.ibm.mq.jms.MQTopicPublisher
A client uses an MQTopicPublisher object to publish messages on a topic. An MQTopicPublisher object is the publish subscribe form of a message producer.
public Topic getTopic() throws JMSException;
Gets the topic associated with this publisher.
public void publish(Message message) throws JMSException;
Publishes a message to the topic. Uses the TopicPublisher's default delivery mode, priority, and time to live.
public void publish(Message message, int deliveryMode, int priority, long timeToLive) throws JMSException;
Publishes a message to the topic, specifying delivery mode, priority, and time to live.
public void publish(Topic topic, Message message) throws JMSException;
Publishes a message to a topic for an unidentified message producer. Uses the TopicPublisher's default delivery mode, priority, and time to live.
public void publish(Topic topic, Message message, int deliveryMode, int priority, long timeToLive) throws JMSException;
Publishes a message to a topic for an unidentified message producer, specifying delivery mode, priority and time to live.
Notices |
Downloads |
Library |
Support |
Feedback
![]() ![]() |
csqzaw13104 |