AQjmsTopicConnectionFactory - Oracle 9i

Syntax

All Implemented Interfaces javax.jms.ConnectionFactory, javax.jms.TopicConnectionFactory

Description
This class implements the TopicConnectionFactory interface. A TopicConnectionFactory is used to create TopicConnections

Member Summary
AQjmsTopicConnectionFactory

Inherited Member Summary

Methods inherited from class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Methods
createTopicConnection()

public javax.jms.TopicConnection createTopicConnection() create a Topic Connection to the JMS Server hosting this Topic- connection factory.

Specified By

javax.jms.TopicConnectionFactory.createTopicConnection() in interface javax.jms.TopicConnectionFactory

Returns
a Topic Connection

Throws

JMSException - if JMS fails to get a topic connection due to some JMS error

createTopicConnection(Connection)

public static javax.jms.TopicConnection createTopicConnection(java.sql.Connection jdbc_connection)

create a TopicConnection using the already open JDBC connection. This creation does NOT result in creation of another connection to the database. Instead JMS binds to the given connection to the database and provides an interface to the Pub/Sub mechanism defined by JMS.

Parameters

jdbc_connection - a valid open connection to the database.

Returns
a TopicConnection

Throws

JMSException - if JMS fails to get a topic connection due to some JMS error

createTopicConnection(String, String)

public javax.jms.TopicConnection
createTopicConnection(java.lang.String username, java.lang.String password)

create a Topic Connection using the given username and password for authentication during creation of the Connection.

Specified By

javax.jms.Topic ConnectionFactory.create Topic Connection(java.lang.String, java.lang.String)

in interface javax.jms.TopicConnectionFactory

Parameters

username - name of the user connecting to the DB for Queueing. password password for the
user creating the connection.

Returns
a Topic Connection

Throws

JMSException - if JMS fails to get a topic connection due to some JMS error

All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

Oracle 9i Topics