Spring.Messaging.Amqp.Rabbit
GetSharedConnection Method
See Also  Send Feedback
Spring.Messaging.Amqp.Rabbit.Connection Namespace > SingleConnectionFactory Class : GetSharedConnection Method
target
The original connection to wrap.
Wrap the given Connection with a proxy that delegates every method call to it but suppresses close calls. This is useful for allowing application code to handle a special framework Connection just like an ordinary Connection from a ConnectionFactory.

Syntax

C# 
protected virtual IConnection GetSharedConnection( 
   IConnection target
)

Parameters

target
The original connection to wrap.

Return Value

the wrapped connection

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.