public class XATopicSession extends XASession implements XATopicSession
javax.jms.XATopicSession
interface.AUTO_ACKNOWLEDGE, CLIENT_ACKNOWLEDGE, DUPS_OK_ACKNOWLEDGE, SESSION_TRANSACTED
Constructor and Description |
---|
XATopicSession(XATopicConnection cnx,
TopicSession ts,
XAResourceMngr rm)
Constructs an
XATopicSession instance. |
Modifier and Type | Method and Description |
---|---|
TopicSubscriber |
createSubscriber(Topic topic)
Delegates the call to the wrapped JMS session.
|
TopicSubscriber |
createSubscriber(Topic topic,
String selector,
boolean noLocal)
Delegates the call to the wrapped JMS session.
|
TopicSession |
getTopicSession()
API method.
|
String |
toString()
Returns a String image of this session.
|
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, getAcknowledgeMode, getDelegateSession, getMessageListener, getSession, getTransacted, getXAResource, recover, rollback, run, setMessageListener, unsubscribe
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
commit, getSession, getTransacted, getXAResource, rollback
close, createBrowser, createBrowser, createBytesMessage, createConsumer, createConsumer, createConsumer, createDurableSubscriber, createDurableSubscriber, createMapMessage, createMessage, createObjectMessage, createObjectMessage, createProducer, createQueue, createStreamMessage, createTemporaryQueue, createTemporaryTopic, createTextMessage, createTextMessage, createTopic, getAcknowledgeMode, getMessageListener, recover, run, setMessageListener, unsubscribe
XATopicSession(XATopicConnection cnx, TopicSession ts, XAResourceMngr rm) throws JMSException
XATopicSession
instance.cnx
- The connection the session belongs to.rm
- The resource manager.JMSException
- Actually never thrown.public String toString()
public TopicSession getTopicSession() throws JMSException
getTopicSession
in interface XATopicSession
JMSException
public TopicSubscriber createSubscriber(Topic topic, String selector, boolean noLocal) throws JMSException
JMSException
public TopicSubscriber createSubscriber(Topic topic) throws JMSException
JMSException
Copyright © 2020 ScalAgent D.T.. All rights reserved.