TopicPublisher
Date: 2015-09-19

javax.jms

## Interface TopicPublisher

- All Superinterfaces:
    MessageProducer

      public interface TopicPublisher
      extends MessageProducer

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `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`