Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

SimpleMessageListenerContainer.RefreshConnectionUntilSuccessful Method

Refresh the underlying Connection, not returning before an attempt has been successful. Called in case of a shared Connection as well as without shared Connection, so either needs to operate on the shared Connection or on a temporary Connection that just gets established for validation purposes.

[Visual Basic]
Protected Overridable Sub RefreshConnectionUntilSuccessful()
[C#]
protected virtual void RefreshConnectionUntilSuccessful();

Remarks

The default implementation retries until it successfully established a Connection, for as long as this message listener container is active. Applies the specified recovery interval between retries.

See Also

SimpleMessageListenerContainer Class | Spring.Messaging.Nms.Listener Namespace