Oracle9i Application Developer's Guide - Advanced Queuing Release 1 (9.0.1) Part Number A88890-02 |
|
JMS Operational Interface: Basic Operations (Point-to-Point), 24 of 24
Create a queue connection with an open OracleOCIConnectionPool.
This is a static method.
This method may be used if the user wants to use an existing OracleOCIConnectionPool
instance for JMS operations. In this case JMS will not open an new OracleOCIConnectionPool
instance, but instead use the supplied OracleOCIConnectionPool
instance to create the JMS QueueConnection object.
OracleOCIConnectionPool cpool; /* previously created OracleOCIConnectionPool */ QueueConnection qc_conn = AQjmsQueueConnectionFactory.createQueueConnection(cpool); Connection db_conn; /* previously opened JDBC connection */ QueueConnection qc_conn = AQjmsQueueConnectionFactory.createQueueConnection(db_ conn);
|
Copyright © 1996-2001, Oracle Corporation. All Rights Reserved. |
|