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.

Getting the Ping Period for the Exception Listener<br />

Syntax<br />

See Chapter 3, "AQ Programmatic Environments" for a list of available functions in<br />

each programmatic environment. Use the following syntax references for each<br />

programmatic environment:<br />

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

AQjmsConnection.setPingPeriod<br />

Examples<br />

//set the ping period to 4 minutes<br />

Connection jms_connection;<br />

jms_connection.setPingPeriod(4*60*1000);<br />

Getting the Ping Period for the Exception Listener<br />

Figure 16–60 Getting the Ping Period for the Exception Listener<br />

User/<br />

Program<br />

JMS Operational Interface - Connection :<br />

GETTING a Ping Period for the Exception Listener<br />

GET<br />

a<br />

Ping Period<br />

See Also:<br />

getPingPeriod<br />

Table 16–1 for a list of basic operations in the JMS shared<br />

<br />

operational interface<br />

"Interface - javax.jms.Connection" on page B-24<br />

Purpose<br />

Get the ping period for the Exception Listener.<br />

16-94 <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!