Interface ConnectionProxy
-
- All Superinterfaces:
java.lang.AutoCloseable
,Connection
public interface ConnectionProxy extends Connection
Subinterface ofConnection
to be implemented by Connection proxies. Allows access to the underlying target Connection- Author:
- Dave Syer
- See Also:
CachingConnectionFactory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Connection
getTargetConnection()
Return the target Channel of this proxy.-
Methods inherited from interface org.springframework.amqp.rabbit.connection.Connection
addBlockedListener, close, closeThreadChannel, createChannel, getDelegate, getLocalPort, isOpen, removeBlockedListener
-
-
-
-
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
)
-
-