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.

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

Figure 16–59 Setting the Ping Period for the Exception Listener<br />

User/<br />

Program<br />

JMS Operational Interface - Connection :<br />

SETTING a PingPeriod for the Exception Listener<br />

SET<br />

a<br />

Ping Period<br />

See Also:<br />

setPingPeriod<br />

specify<br />

the ping period<br />

(long)<br />

Purpose<br />

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

Setting the Ping Period for the Exception Listener<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 />

Usage Notes<br />

If an exception listener is set for the connection, the connection pings the database<br />

periodically to ensure that the database is accessible. The period is specified in<br />

milliseconds. The default value is 2 minutes. If an exception listener is not set for the<br />

connection, the database is not pinged. This method can be called before or after the<br />

exception listener is set.<br />

JMS Operational Interface: Basic Operations (Shared Interfaces) 16-93

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

Saved successfully!

Ooh no, something went wrong!