public class MQTopicSession extends MQSession implements javax.jms.TopicSession, JmsTopicSession
| Modifier and Type | Method and Description |
|---|---|
javax.jms.TopicPublisher |
createPublisher(javax.jms.Topic topic)
Creates a publisher for the specified topic.
|
javax.jms.TopicSubscriber |
createSubscriber(javax.jms.Topic topic)
Creates a nondurable subscriber to the specified topic.
|
javax.jms.TopicSubscriber |
createSubscriber(javax.jms.Topic topic,
java.lang.String selector,
boolean noLocal)
Creates a nondurable subscriber to the specified topic.
|
close, commit, createBrowser, createBrowser, createBytesMessage, createConsumer, createConsumer, createConsumer, createDurableConsumer, createDurableConsumer, createDurableSubscriber, createDurableSubscriber, createMapMessage, createMessage, createObjectMessage, createObjectMessage, createProducer, createQueue, createSharedConsumer, createSharedConsumer, createSharedDurableConsumer, createSharedDurableConsumer, createStreamMessage, createTemporaryQueue, createTemporaryTopic, createTextMessage, createTextMessage, createTopic, deliver, getAcknowledgeMode, getMessageListener, getTransacted, recover, rollback, setMessageListener, unsubscribeclear, containsKey, containsValue, entrySet, equals, get, getBooleanProperty, getByteProperty, getBytesProperty, getCharProperty, getDoubleProperty, getFloatProperty, getIntProperty, getLongProperty, getObjectProperty, getPropertyNames, getShortProperty, getStringProperty, hashCode, isEmpty, keySet, propertyExists, put, putAll, remove, setBatchProperties, setBooleanProperty, setByteProperty, setBytesProperty, setCharProperty, setDoubleProperty, setFloatProperty, setIntProperty, setLongProperty, setObjectProperty, setShortProperty, setStringProperty, size, valuesgetClass, notify, notifyAll, toString, wait, wait, waitsetBatchProperties, setBooleanProperty, setByteProperty, setBytesProperty, setCharProperty, setDoubleProperty, setFloatProperty, setIntProperty, setLongProperty, setObjectProperty, setShortProperty, setStringPropertygetBooleanProperty, getByteProperty, getBytesProperty, getCharProperty, getDoubleProperty, getFloatProperty, getIntProperty, getLongProperty, getObjectProperty, getPropertyNames, getShortProperty, getStringProperty, propertyExistsclear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, valuescreateDurableSubscriber, createDurableSubscriber, createTemporaryTopic, createTopic, unsubscribeclose, commit, createBrowser, createBrowser, createBytesMessage, createConsumer, createConsumer, createConsumer, createDurableConsumer, createDurableConsumer, createMapMessage, createMessage, createObjectMessage, createObjectMessage, createProducer, createQueue, createSharedConsumer, createSharedConsumer, createSharedDurableConsumer, createSharedDurableConsumer, createStreamMessage, createTemporaryQueue, createTextMessage, createTextMessage, getAcknowledgeMode, getMessageListener, getTransacted, recover, rollback, run, setMessageListenerpublic javax.jms.TopicPublisher createPublisher(javax.jms.Topic topic)
throws javax.jms.JMSException
createPublisher in interface javax.jms.TopicSessiontopic - the topic on which messages are to be publishedjavax.jms.JMSException - if a session fails to create a publisher due to an internal errorpublic javax.jms.TopicSubscriber createSubscriber(javax.jms.Topic topic)
throws javax.jms.JMSException
createSubscriber in interface javax.jms.TopicSessiontopic - the topic to subscribe tojavax.jms.JMSException - if the session fails to create a subscriber due to some JMS error.javax.jms.InvalidDestinationException - if an invalid topic is specified.public javax.jms.TopicSubscriber createSubscriber(javax.jms.Topic topic,
java.lang.String selector,
boolean noLocal)
throws javax.jms.JMSException
createSubscriber in interface javax.jms.TopicSessiontopic - the topic to subscribe toselector - only messages with properties matching the message selector expression are
delivered. This value may be nullnoLocal - if set, inhibits the delivery of messages published by its own connectionjavax.jms.JMSException - if the session fails to create a subscriber due to some JMS error or
invalid selectorjavax.jms.InvalidDestinationException - if an invalid topic is specified.javax.jms.InvalidSelectorException - if the message selector is invalid.