Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractListenerContainer.PrepareSharedConnection Method

Prepares the given connection, which is about to be registered as shared Connection for this container.

[Visual Basic]
Protected Overridable Sub PrepareSharedConnection( _
   ByVal connection As IConnection _
)
[C#]
protected virtual void PrepareSharedConnection(
   IConnection connection
);

Parameters

connection
The connection to prepare.

Remarks

The default implementation sets the specified client id, if any. Subclasses can override this to apply further settings.

Exceptions

Exception Type Condition
NMSException If the preparation efforts failed.

See Also

AbstractListenerContainer Class | Spring.Messaging.Nms.Listener Namespace