Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

SingleConnectionFactory.PrepareConnection Method

Prepares the connection before it is exposed. The default implementation applies ExceptionListener and client id. Can be overridden in subclasses.

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

Parameters

con
The Connection to prepare.

Exceptions

Exception Type Condition
NMSException if thrown by any NMS API methods.

See Also

SingleConnectionFactory Class | Spring.Messaging.Nms.Connections Namespace