Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

NmsTemplate.GetConnection Method

Fetch an appropriate Connection from the given MessageResourceHolder.

[Visual Basic]
Protected Overridable Sub GetConnection( _
   ByVal holder As NmsResourceHolder _
)
[C#]
protected virtual IConnection GetConnection(
   NmsResourceHolder holder
);

Parameters

holder
the MessageResourceHolder

Return Value

an appropriate IConnection fetched from the holder, or

null
if none found

See Also

NmsTemplate Class | Spring.Messaging.Nms.Core Namespace