unwrapCaching

open fun unwrapCaching(connectionFactory: ConnectionFactory): ConnectionFactory

Return the native ConnectionFactory by unwrapping from a CachingConnectionFactory. Return the given ConnectionFactory if no CachingConnectionFactory wrapper has been detected.

Return

the native connection factory that a CachingConnectionFactory wraps, if any

Since

3.4.1

Parameters

connectionFactory

a connection factory