public class AQjmsQueueConnectionFactory extends AQjmsConnectionFactory implements QueueConnectionFactory, java.io.Serializable
javax.jms.QueueConnectionFactory. A QueueConnectionFactory is an encapsulation of JMS servers to which QueueConnections can be created to access message queuing facilities.| Constructor and Description |
|---|
AQjmsQueueConnectionFactory()
Constructs a QueueConnectionFactory object.
|
| Modifier and Type | Method and Description |
|---|---|
QueueConnection |
createQueueConnection()
Creates a queue connection with the default user identity.
|
static QueueConnection |
createQueueConnection(java.sql.Connection jdbcConnection)
Creates a queue connection using an already open JDBC connection.
|
static QueueConnection |
createQueueConnection(oracle.jdbc.pool.OracleOCIConnectionPool connectionPool)
Creates a queue connection using an already open OCI connection pool.
|
QueueConnection |
createQueueConnection(java.lang.String userName, java.lang.String password)
Creates a queue connection using the specified user identity.
|
createConnection, createConnection, getDataSource, getJdbcURL, getObjectInstance, getUsername, setDatasource, setJdbcURL, setPassword, setUsernameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateConnection, createConnectionpublic AQjmsQueueConnectionFactory()
public QueueConnection createQueueConnection() throws JMSException
Connection.start method is explicitly called.createQueueConnection in interface QueueConnectionFactoryJMSException - if the queue connection is not created due to some error.JMSSecurityException - if client authentication fails due to an invalid user name or password.public QueueConnection createQueueConnection(java.lang.String userName, java.lang.String password) throws JMSException
Connection.start method is explicitly called.createQueueConnection in interface QueueConnectionFactoryuserName - the caller's user namepassword - the caller's passwordJMSException - if the queue connection is not created due to some error.JMSSecurityException - if client authentication fails due to an invalid user name or password.public static QueueConnection createQueueConnection(java.sql.Connection jdbcConnection) throws JMSException
jdbcConnection - a valid open connection to the database.JMSException - if the queue connection is not created due to some error.public static QueueConnection createQueueConnection(oracle.jdbc.pool.OracleOCIConnectionPool connectionPool) throws JMSException
connectionPool - a valid open connection OCI connection pool to the databaseJMSException - if the queue connection is not created due to some error.