Spring.Messaging.Amqp.Rabbit
GetTargetConnection Method
See Also  Send Feedback
Spring.Messaging.Amqp.Rabbit.Connection Namespace > ConnectionFactoryUtils Class : GetTargetConnection Method
connection
Return the innermost target IConnection of the given IConnection. If the given IConnection is a decorated connection, it will be unwrapped until a non-decorated IConnection is found. Otherwise, the passed-in IConnection will be returned as-is.

Syntax

C# 
public static IConnection GetTargetConnection( 
   IConnection connection
)

Parameters

connection

Return Value

The innermost target IConnection, or the passed-in one if no decorator

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2010 All Rights Reserved.