WebLogic Messaging API Class Library

IContext.CloseAll Method 

Closes this context and all JMS child resources such as connections, sessions, producers, and consumers that were created within this context as well. This method closes and releases this context's and all its child resources immediately, instead of waiting for them to be closed individually by an application.

This method is idempotent: invoking it on a context that has already been closed has no effect. Invoking any other method on a closed context is not allowed, and results in undefined behaviour.

void CloseAll();


Exception TypeCondition
MessageExceptionif an internal exception is encountered

See Also

IContext Interface | WebLogic.Messaging Namespace | Close