Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

NmsResourceHolder.GetConnection Method

Gets the connection managed by this resource holder

Overload List

Gets the connection managed by this resource holder

public virtual IConnection GetConnection()

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.

public virtual IConnection GetConnection(Type)

See Also

NmsResourceHolder Class | Spring.Messaging.Nms.Connections Namespace