Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

NmsResourceHolder.GetConnection(Type) Method

Gets the connection of a given type managed by this resource holder. This is used when storing Queue or Topic Connections (from the older 1.0.2 API) as compared to the 'unified domain' API , just Connection, in the newer 1.2 API.

[Visual Basic]
Public Overridable Overloads Sub GetConnection( _
   ByVal connectionType As Type _
)
[C#]
public virtual IConnection GetConnection(
   Type connectionType
);

Parameters

connectionType
Type of the connection.

Return Value

The connection, or null if not found.

See Also

NmsResourceHolder Class | Spring.Messaging.Nms.Connections Namespace | NmsResourceHolder.GetConnection Overload List