WebLogic Messaging API Class Library

IContext. Method 

Closes this context and all JMS connections created within this context as well. This method releases this context's and all connection's resources immediately, instead of waiting for them to be released automatically by the garbage collector.

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 ();

Exceptions

Exception TypeCondition
MessageExceptionif a naming exception is encountered

See Also

IContext Interface | WebLogic.Messaging Namespace | Close