Since a provider may allocate some resources on behalf of a IMessageProducer outside the Java virtual machine, clients should Close them when they are not needed. Relying on garbage collection to eventually reclaim these resources may not be timely enough.
| Exception Type | Condition |
|---|---|
| MessageException | if the JMS provider fails to Close the producer due to some internal error. |
IMessageProducer Interface | WebLogic.Messaging Namespace