WebLogic Messaging API Class Library

IMessageProducer. Method 

Closes the message producer.

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.

void ();

Exceptions

Exception TypeCondition
MessageExceptionif the JMS provider fails to Close the producer due to some internal error.

See Also

IMessageProducer Interface | WebLogic.Messaging Namespace