commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fernando O." <>
Subject Reseting a connection in RDCP
Date Fri, 01 Apr 2011 19:37:00 GMT
Hi All
    I'm evaluating RDCP for a project. We need to be able to reset a
connection on an error, meaning: if an error occurs I want to close a
connection , take it out of the pool, and get a new one (not an existing
one) into the pool and get that connection.
Something like

Connection conn = connectionPool.reset(oldConnection);

Most of the time I wil use connection.close(), but just in some rare cases I
need to do a reset :(.

Is there a clean way to do that?

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message