09.12.2012 Views

Advanced Queuing - Oracle

Advanced Queuing - Oracle

Advanced Queuing - Oracle

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Creating a Queue Connection with an Open <strong>Oracle</strong>OCIConnection Pool<br />

<strong>Oracle</strong>OCIConnectionPool cpool; /* previously created <strong>Oracle</strong>OCIConnectionPool */<br />

QueueConnection qc_conn =<br />

AQjmsQueueConnectionFactory.createQueueConnection(cpool);<br />

Connection db_conn; /* previously opened JDBC connection */<br />

QueueConnection qc_conn = AQjmsQueueConnectionFactory.createQueueConnection(db_<br />

conn);<br />

14-30 <strong>Oracle</strong>9i Application Developer’s Guide - <strong>Advanced</strong> <strong>Queuing</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!