Interface ConnectionProxy
- All Superinterfaces:
AutoCloseable
,Connection
Subinterface of
Connection
to be implemented by
Connection proxies. Allows access to the underlying target Connection- Author:
- Dave Syer
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturn 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 Details
-
getTargetConnection
Connection getTargetConnection()Return the target Channel of this proxy.This will typically be the native provider Connection
- Returns:
- the underlying Connection (never
null
)
-