Interface ConnectionProxy

  • All Superinterfaces:
    java.lang.AutoCloseable, Connection

    public interface ConnectionProxy
    extends Connection
    Subinterface of Connection to be implemented by Connection proxies. Allows access to the underlying target Connection
    Author:
    Dave Syer
    See Also:
    CachingConnectionFactory
    • Method Detail

      • getTargetConnection

        Connection getTargetConnection()
        Return the target Channel of this proxy.

        This will typically be the native provider Connection

        Returns:
        the underlying Connection (never null)