Invoked at every connection check out from the pool as well as each
successful reconnect following a recoverable error at replay.
Using the same callback at run time and replay ensures that exactly
the same initialzation that was used when the original session was
established, is re-established at runtime. It is the implementer
of the callback's responsibility to ensure that this is the case.
If the callback invocation fails, replay is disabled on that connection.