Hi
Is it safe to assume that if the getConnection method of the ManagedConnection throws a ResourceException, the ManagedConnection would not be in a pool but garbage collected?
The code seems to indicate this, but I need to be sure...
I don't recall the jca spec discussing this, so it might be dependent on the implementation details. You can certainly force this to happen in an adapter you write by sending a ConnectionErrorOccurred event.