09.12.2012 Views

Advanced Queuing - Oracle

Advanced Queuing - Oracle

Advanced Queuing - Oracle

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

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

Figure 14–16 Creating a Queue Connection with an Open <strong>Oracle</strong>OCIConnectionPool<br />

User/<br />

Program<br />

JMS Operational Interface - AQjmsQueueConnectionFactory :<br />

CREATING a Queue Connection<br />

CREATE<br />

a<br />

Queue<br />

Connection<br />

See Also:<br />

Table 14–1 for a list of JMS operational interface basic<br />

<br />

operations<br />

"Class - oracle.jms.AQjmsQueueConnectionFactory" on<br />

<br />

page B-52<br />

Purpose<br />

Create a queue connection with an open <strong>Oracle</strong>OCIConnectionPool.<br />

Usage notes<br />

This is a static method.<br />

createQueueConnection, using<br />

<strong>Oracle</strong>OCIConnectionPool<br />

Syntax<br />

Java (JDBC): <strong>Oracle</strong>9i Supplied Java Packages Reference oracle.jms,<br />

AQjmsQueueConnectionFactory.createQueueConnection<br />

Example<br />

This method may be used if the user wants to use an existing<br />

<strong>Oracle</strong>OCIConnectionPool instance for JMS operations. In this case JMS will<br />

not open an new <strong>Oracle</strong>OCIConnectionPool instance, but instead use the<br />

supplied <strong>Oracle</strong>OCIConnectionPool instance to create the JMS<br />

QueueConnection object.<br />

JMS Operational Interface: Basic Operations (Point-to-Point) 14-29

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

Saved successfully!

Ooh no, something went wrong!