|
Oracle® Streams Advanced Queuing Java API Reference Release 1 (10.1) B12023-01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
An XATopicConnection provides the same create options as TopicConnection (optional). The Topic connections created are transactional.
The XATopicConnection interface is optional. JMS providers are not required to support this interface. This interface is for use by JMS providers to support transactional environments. Client programs are strongly encouraged to use the transactional support available in their environment, rather than use these XA interfaces directly.
XAConnection| Method Summary | |
javax.jms.TopicSession |
createTopicSession(boolean transacted, int acknowledgeMode)Creates an XATopicSession object. |
javax.jms.XATopicSession |
createXATopicSession()Creates an XATopicSession object. |
| Methods inherited from interface javax.jms.XAConnection |
createSession, createXASession |
| Methods inherited from interface javax.jms.Connection |
close, createConnectionConsumer, createDurableConnectionConsumer, getClientID, getExceptionListener, getMetaData, setClientID, setExceptionListener, start, stop |
| Methods inherited from interface javax.jms.TopicConnection |
createConnectionConsumer, createDurableConnectionConsumer |
| Method Detail |
public javax.jms.XATopicSession createXATopicSession()
throws JMSException
XATopicSession object.JMSException - if the XATopicConnection object fails to create an XA topic session due to some internal error.
public javax.jms.TopicSession createTopicSession(boolean transacted,
int acknowledgeMode)
throws JMSException
XATopicSession object.createTopicSession in interface TopicConnectiontransacted - usage undefinedacknowledgeMode - usage undefinedJMSException - if the XATopicConnection object fails to create an XA topic session due to some internal error.Session.AUTO_ACKNOWLEDGE, Session.CLIENT_ACKNOWLEDGE, Session.DUPS_OK_ACKNOWLEDGE
|
Oracle® Streams Advanced Queuing Java API Reference Release 1 (10.1) B12023-01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||