jsr322-experts@connector-spec.java.net

[jsr322-experts] javax.resource.spi.ManagedConnection API

From: <frowe_at_us.ibm.com>
Date: Wed, 16 Jan 2013 15:45:26 +0000 (GMT)

In order to facilitate resource adapter failover mechanisms from one
resource adatper to another, it is useful to be able to determine the
state of a connection so that if the connection has failed, a failover
process can be performed. Similarly, when the connection state
indicates that the connection is working again, an automated (or
manual) failback process could be initiated. One means to acheive this
would be to add a testConnection(...) method to the MC API allowing a
standard means for the app server to determine the status of a
connection.