|Oracle8i Application Developer's Guide - Advanced Queuing
Release 2 (8.1.6)
Part Number A76938-01
JMS Operational Interface: Basic Operations (Point-to-Point), 6 of 22
Create a queue connection with open JDBC connection.
This is a static method.
This method may be used if the user wants to use an existing JDBC connection (say from a connection pool) for JMS operations. In this case JMS will not open a new connection, but instead use the supplied JDBC connection to create the JMS QueueConnection object
Connection db_conn; /* previously opened JDBC connection */ QueueConnection qc_conn = AQjmsQueueConnectionFactory.createQueueConnection(db_ conn);
This method is the only way to create a JMS QueueConnection when using JMS from java stored procedures inside the database (JDBC Server driver)