Spring.Messaging.Amqp.Rabbit
RunningAllowed Method
See Also  Send Feedback
Spring.Messaging.Amqp.Rabbit.Listener Namespace > AbstractRabbitListeningContainer Class : RunningAllowed Method
Check whether this container's listeners are generally allowed to run. This implementation always returns true; the default 'running' state is purely determined by AbstractRabbitListeningContainer.Start / AbstractRabbitListeningContainer.Stop.

Syntax

C# 
protected virtual bool RunningAllowed()

Return Value

true if running is allowed, false otherise

Remarks

Subclasses may override this method to check against temporary conditions that prevent listeners from actually running. In other words, they may apply further restrictions to the 'running' state, returning false if such a restriction prevents listeners from running.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2010 All Rights Reserved.