AbstractListenerContainer.EstablishSharedConnection Method
Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractListenerContainer.EstablishSharedConnection Method

Establishes a shared Connection for this container.

[Visual Basic]
Protected Overridable Sub EstablishSharedConnection()
protected virtual void EstablishSharedConnection();


The default implementation delegates to CreateSharedConnection which does one immediate attempt and throws an exception if it fails. Can be overridden to have a recovery process in place, retrying until a Connection can be successfully established.


Exception Type Condition
NMSException If thrown by NMS API methods

See Also

AbstractListenerContainer Class | Spring.Messaging.Nms.Listener Namespace